Skip to content

Commit

Permalink
Sync Travis settings from tuupola/slim-basic-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
tuupola committed Oct 1, 2015
1 parent 2936a5c commit fe4e17d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
sudo: false

language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm

before_install:
- sudo pip install codecov
- pip install --user codecov

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --dev
- travis_retry composer install --no-interaction

script:
- vendor/bin/phpcs --standard=psr2 ./src
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml
- vendor/bin/phpunit --coverage-text --bootstrap vendor/autoload.php --coverage-clover=coverage.xml

after_success:
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]]; then codecov; fi

cache:
directories:
- $HOME/.composer/cache

0 comments on commit fe4e17d

Please sign in to comment.