Skip to content

Commit

Permalink
Add travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoKouzelis committed Sep 27, 2018
1 parent 2ac2126 commit 583cb9b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'

cache:
directories:
- $HOME/.composer/cache

before_install:
- travis_retry composer self-update

install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest

script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 comments on commit 583cb9b

Please sign in to comment.