Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #91 from rvitaliy/update_travis
Browse files Browse the repository at this point in the history
travis configuration changed for better tests suit
  • Loading branch information
Chumper authored Feb 1, 2017
2 parents 47c2084 + 3f1e48b commit 210c17a
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,29 @@ sudo: false

php:
- 5.6
- 7
- 7.0
- 7.1

env:
- COMPOSER_FLAGS=--prefer-lowest
global:
- setup=basic

before_script:
- travis_retry composer self-update
- travis_retry composer update --no-interaction --prefer-source --prefer-stable ${COMPOSER_FLAGS}
matrix:
fast_finish: true
include:
- php: 5.6
env: setup=lowest
- php: 5.6
env: setup=stable


before_install:
- composer self-update
- composer clear-cache

install:
- travis_retry composer update --no-interaction
- if [[ $setup = 'basic' ]]; then travis_retry composer update --no-interaction --prefer-dist --no-suggest; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi

script: vendor/bin/phpunit

0 comments on commit 210c17a

Please sign in to comment.