Skip to content

Commit

Permalink
Update travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Apr 22, 2020
1 parent daee6e0 commit 46fa82d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,22 @@ before_install:
- docker run -d -v ${PWD}/test-autobahn/config:/config -v ${PWD}/test-autobahn/reports:/reports -p 9001:9001 --name fuzzingserver crossbario/autobahn-testsuite

install:
- composer update -n --prefer-dist
- travis_retry composer update -n --prefer-dist

- mkdir -p coverage/cov coverage/bin
- wget https://phar.phpunit.de/phpcov.phar -O coverage/bin/phpcov
- chmod +x coverage/bin/phpcov

- composer show

script:
- vendor/bin/phpunit --verbose --coverage-php coverage/cov/main.cov
- php test-autobahn/runner.php
- PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer --diff --dry-run -v fix

after_script:
- curl -OL https://github.com/php-coveralls/php-coveralls/releases/download/v1.0.0/coveralls.phar
- chmod +x coveralls.phar
- wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.2.0/php-coveralls.phar
- chmod +x php-coveralls.phar
- coverage/bin/phpcov merge --clover build/logs/clover.xml coverage/cov
- ./coveralls.phar
- travis_retry ./php-coveralls.phar -v

cache:
directories:
Expand Down

0 comments on commit 46fa82d

Please sign in to comment.