Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Cassani committed Aug 17, 2017
1 parent 69c75c4 commit 9abff94
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
language: php

sudo: required
sudo: false

dist: trusty

php:
- 5.6
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'
- 7.0
env: 'COMPOSER_FLAGS="--prefer-source"'
- 7.1
env: 'COMPOSER_FLAGS="--prefer-source"'

global:
- REPORT_EXIT_STATUS=1

before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- composer install ${COMPOSER_FLAGS} --no-interaction --dev

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

after_script:
- vendor/bin/coveralls -v
- vendor/bin/coveralls -v --exclude-no-stmt

matrix:
fast_finish: true

0 comments on commit 9abff94

Please sign in to comment.