diff options
author | Michal Čihař <michal@cihar.com> | 2016-08-05 11:36:09 +0200 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-08-05 11:36:09 +0200 |
commit | f8b2937a174603222941edc2cab5b27a54310698 (patch) | |
tree | db25b6f74a7aa29027bf6497e900baf37e0f8db7 | |
parent | 67935c21d6f954373403b9b9fa21bac646ab90fe (diff) | |
download | sql-parser-f8b2937a174603222941edc2cab5b27a54310698.zip sql-parser-f8b2937a174603222941edc2cab5b27a54310698.tar.gz sql-parser-f8b2937a174603222941edc2cab5b27a54310698.tar.bz2 |
Simplify travis setup
- do not update composer
- cache ocular
- avoid retries
Signed-off-by: Michal Čihař <michal@cihar.com>
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 10fd439..fc8a89c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,16 +15,13 @@ matrix: sudo: false -before_install: - - travis_retry composer self-update && composer --version - install: - - travis_retry composer install + - composer install after_script: - | if [ $TRAVIS_PHP_VERSION = '5.6' ]; then - [[ -f ocular.phar ]] || travis_retry wget https://scrutinizer-ci.com/ocular.phar + [[ -f ocular.phar ]] || wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover coverage.xml fi @@ -35,3 +32,4 @@ cache: directories: - $HOME/.composer/cache - vendor + - ocular.phar |