Skip to content

Commit

Permalink
Updated Travis config to tests against lowest dependencies and use ca…
Browse files Browse the repository at this point in the history
…che.
  • Loading branch information
Bilge committed Jan 15, 2017
1 parent 0feb933 commit a4d8e02
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,22 @@ php:
- 7.0
- 7.1

env:
matrix:
-
- DEPENDENCIES=--prefer-lowest

matrix:
fast_finish: true

cache:
directories:
- .composer/cache

install:
- alias composer=composer\ -n && composer selfupdate
- composer validate
- composer --prefer-source install
- composer update $DEPENDENCIES

script:
- composer test -- --coverage-clover=build/logs/clover.xml
Expand All @@ -25,5 +37,5 @@ script:
- composer test -- --exclude-group Mapper

after_success:
- composer --prefer-source require satooshi/php-coveralls
- composer require satooshi/php-coveralls
- vendor/bin/coveralls -v
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"require-dev": {
"scriptfusion/mapper": "^1",
"phpunit/phpunit": "^4",
"mockery/mockery": "^0",
"phpunit/phpunit": "^4.8",
"mockery/mockery": "^0.9.4",
"symfony/process": "^3"
},
"suggest" : {
Expand Down

0 comments on commit a4d8e02

Please sign in to comment.