Skip to content

Commit

Permalink
Updated travis config (#1)
Browse files Browse the repository at this point in the history
* Updated travis config

* Allow failuers on HHVM
  • Loading branch information
Nyholm authored Jan 2, 2017
1 parent f350246 commit 1146e00
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,29 @@ branches:
php:
- 7.0
- 7.1
- hhvm
env:
global:
- TEST_COMMAND="composer test"
matrix:
- SYMFONY_VERSION=3.2.*
- SYMFONY_VERSION=2.7.*

matrix:
fast_finish: true
include:
- php: 7.0
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci" SYMFONY_VERSION=2.7.*
allow_failures:
- php: hhvm

install:
- travis_retry composer update --prefer-dist --no-interaction
- composer require symfony/symfony:${SYMFONY_VERSION} --no-update
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction

script:
- $TEST_COMMAND

after_success:
- if [[ $COVERAGE = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [[ $COVERAGE = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi

0 comments on commit 1146e00

Please sign in to comment.