Skip to content

Commit

Permalink
travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Cassani committed Aug 16, 2017
1 parent 3515125 commit 92b0e52
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 29 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: php

sudo: false
sudo: required

dist: trusty

php:
- 5.6
Expand All @@ -15,7 +17,10 @@ before_script:
- composer install --prefer-source --no-interaction --dev

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

after_script:
- vendor/bin/coveralls -v

matrix:
fast_finish: true
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@
"psr-4": { "ArrayQuery\\Tests\\": "tests/" }
},
"require": {
"php": "^5.6 || ^7.0"
"php": "^5.6 || ^7.0",
"doctrine/annotations": "1.2.*",
"doctrine/instantiator": "1.0.*"
},
"require-dev": {
"phpunit/phpunit": "~5.7",
"friendsofphp/php-cs-fixer": "^2.3"
"phpunit/phpunit": "4.8|^5.0",
"friendsofphp/php-cs-fixer": "^2.3",
"satooshi/php-coveralls": "dev-master"
}
}
Loading

0 comments on commit 92b0e52

Please sign in to comment.