Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleš committed Jul 28, 2017
1 parent 1bf3b01 commit 376cd11
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ matrix:
allow_failures:
- php: 7.2

before_script:
- travis_retry composer install --no-interaction --no-progress
- travis_retry composer create-project nette/code-checker temp/code-checker --no-interaction --no-progress
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-interaction --no-progress
- if [ "$coverage" == "on" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi

script:
- vendor/bin/tester tests -s $coverageArgs
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
- php temp/coding-standard/vendor/symplify/easy-coding-standard/bin/ecs check src tests --config temp/coding-standard/coding-standard-php71.neon

before_script:
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer create-project nette/code-checker temp/code-checker ~2.8 --no-interaction
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
- if [ "$coverage" == "on" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi

after_script:
- >
if [ "$coverage" == "on" ]; then
Expand Down

0 comments on commit 376cd11

Please sign in to comment.