Skip to content

Commit

Permalink
Add travis config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebronner committed Sep 15, 2017
1 parent b5f3704 commit 8c9e3e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
@@ -0,0 +1,17 @@
language: php

php:
- 7.0
- 7.1

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev

script:
- ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml

after_script:
- php vendor/bin/coveralls
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml

0 comments on commit 8c9e3e8

Please sign in to comment.