Skip to content

Commit 03f0f7e

Browse files
TomasVotrubajaapio
authored andcommitted
travis: bump to PHP 7, add PHP 7.2, cleanup
1 parent 552bf40 commit 03f0f7e

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.travis.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
language: php
2-
dist: trusty
2+
33
php:
44
- 7.0
55
- 7.1
6-
- nightly
7-
8-
matrix:
9-
allow_failures:
10-
- php:
11-
- nightly
6+
- 7.2
127

138
cache:
149
directories:
1510
- $HOME/.composer/cache
1611

12+
install:
13+
- composer install --no-interaction
14+
1715
script:
1816
- vendor/bin/phpunit --coverage-clover=coverage.clover -v
19-
- composer update --no-interaction --prefer-source
20-
- vendor/bin/phpunit -v
21-
22-
before_script:
23-
- composer install --no-interaction
2417

2518
after_script:
26-
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
19+
- |
20+
if [ $TRAVIS_PHP_VERSION = '7.1' ]; then
21+
wget https://scrutinizer-ci.com/ocular.phar;
22+
php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
23+
fi
2724
2825
notifications:
2926
irc: "irc.freenode.org#phpdocumentor"

0 commit comments

Comments
 (0)