Skip to content

Commit

Permalink
Still working on travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rbairwell committed Dec 31, 2015
1 parent 3ac37be commit 7df9ea6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,25 @@ php:
- 7.0
- hhvm
- nightly

matrix:
fast_finish: true
allow_failures:
- php: nightly

before_install:
- composer self-update

install: composer update $COMPOSER_FLAGS

before_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then composer require satooshi/php-coveralls:dev-master squizlabs/php_codesniffer:2.* -n ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then composer install -n ; fi

script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then mkdir -p build/logs && phpunit --coverage-clover build/logs/clover.xml ; fi
- if [[ "$TRAVIS_PHP_VERSION" != '5.6' ]]; then phpunit ; fi
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then vendor/bin/phpcs --ignore=vendor/* -n -p . ; fi

after_script:
- if [[ "$TRAVIS_PHP_VERSION" == '5.6' ]]; then php vendor/bin/coveralls -v ; fi

0 comments on commit 7df9ea6

Please sign in to comment.