Files
php-lib-chilean-rut/.travis.yml
Matias Navarro Carter fd0ebf5f33 Code Coverage
2018-10-12 15:52:58 -03:00

30 lines
677 B
YAML

language: php
env:
global:
- CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID
dist: precise
php:
- '7.1'
- '7.2'
- nightly
matrix:
allow_failures:
- php: nightly
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script: composer run test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT