Skip to content

Commit

Permalink
travis: simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jul 13, 2017
1 parent abb6e3c commit 0fcd45a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ before_script:
# Install Nette Tester & Code Checker
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer create-project nette/code-checker code-checker ~2.5 --no-interaction
- if [ "$coverage" == "on" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi
- if [ "$coverage" ]; then coverageArgs="-p phpdbg --coverage ./coverage.xml --coverage-src ./src"; fi

after_script:
# Report Code Coverage
- >
if [ "$coverage" == "on" ]; then
if [ "$coverage" ]; then
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
&& php coveralls.phar --verbose --config tests/.coveralls.yml
|| true; fi
&& php coveralls.phar --verbose --config tests/.coveralls.yml;
fi
sudo: false

Expand Down

0 comments on commit 0fcd45a

Please sign in to comment.