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

Commit

Permalink
Move to PHP7.1 and changed travis build
Browse files Browse the repository at this point in the history
(yeah, it's still empty, need to write tests, yolo)
  • Loading branch information
Pierstoval committed Dec 5, 2017
1 parent 0a3cbd2 commit 9706915
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
21 changes: 3 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- nightly
- hhvm
- hhvm-nightly

branches:
only:
- master
- /^\d+\.\d+$/

matrix:
allow_failures:
- php: nightly
- php: hhvm-nightly
- 7.1

script:
- mkdir -p build/logs
- composer require satooshi/php-coveralls
- phpunit --coverage-clover build/logs/clover.xml

after_success: |
sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" -a "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]; then php vendor/bin/coveralls -v --config .coveralls.yml; fi;'
php vendor/bin/coveralls -v --config .coveralls.yml
notifications:
email: [email protected]
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
}
],
"require": {
"php": ">=5.3.0",
"doctrine/orm": "~2.3"
"php": "^7.1",
"doctrine/orm": "^2.5"
},
"require-dev": {
"phpunit/phpunit": "~4.4",
"satooshi/php-coveralls": "~0.6",
"doctrine/data-fixtures": "~1.0"
"phpunit/phpunit": "^6.0",
"doctrine/data-fixtures": "^1.0"
},
"suggest": {
"doctrine/data-fixtures": "To use the nice AbstractFixture class",
Expand Down

0 comments on commit 9706915

Please sign in to comment.