Skip to content

Commit

Permalink
Fixed Travis CI + updated deprecated composer packages (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Antonmattei authored Apr 7, 2020
1 parent b515bbc commit ff521d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
19 changes: 10 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: php

sudo: false

env:
global:
- COVERALLS=0
Expand All @@ -11,19 +9,20 @@ matrix:
include:
- php: 5.3
dist: precise
env: COMPOSER_MEMORY_LIMIT=-1
- php: 5.4
env: COVERALLS=1 PHPCS=1
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
env: COVERALLS=1 PHPCS=1
- php: 7
- php: hhvm
# - php: 5.4
# env: PHPCS=0 DEFAULT=1

allow_failures:
# allow failure for Php > 5.6
- php: 7
- php: hhvm
# allow failure for Php < 5.6
- php: 5.3
- php: 5.4
- php: 5.5
fast_finish: true

install:
Expand All @@ -35,3 +34,5 @@ script:

after_script:
- sh -c "if [ '$COVERALLS' = '1' ]; then vendor/bin/coveralls -vvv ; fi"


4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
}
},
"require-dev": {
"mikey179/vfsStream": "^1.6",
"mikey179/vfsstream": "^1.6",
"phpunit/phpcov": "^2.0",
"phpunit/phpunit": "^4.8",
"satooshi/php-coveralls": "^1.0",
"php-coveralls/php-coveralls": "^1.0",
"squizlabs/php_codesniffer": "^2.5"
},
"prefer-stable": true,
Expand Down

0 comments on commit ff521d3

Please sign in to comment.