-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (21 loc) · 777 Bytes
/
.travis.yml
File metadata and controls
29 lines (21 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: php
sudo: false
cache:
directories:
- vendor
- $HOME/.composer/cache
- /tmp/Elcodi/
php:
- 5.6
before_install:
- composer self-update
- 'if [[ -n "$GH_TOKEN" ]]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;'
install:
- 'if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_PHP_VERSION != "hhvm" && $TRAVIS_PHP_VERSION != "7.0" ]]; then composer require --no-update satooshi/php-coveralls; fi;'
- composer install --prefer-dist --no-interaction --no-progress
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- 'if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_PHP_VERSION != "hhvm" && $TRAVIS_PHP_VERSION != "7.0" ]]; then php vendor/bin/coveralls; fi;'
notifications:
email: false