Skip to content

Commit

Permalink
Merge pull request #43 from vinkla/versions
Browse files Browse the repository at this point in the history
Add PHP version to composer
  • Loading branch information
maxiloc committed Dec 7, 2015
2 parents f3b928a + 2a20548 commit cb3a70a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
29 changes: 19 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
- 5.3.3
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm

sudo: false

cache:
directories:
- $HOME/.composer/cache

branches:
only:
- master
- master

install:
- composer install
- composer install

script:
- phpunit --debug -c phpunit.xml.dist

after_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php vendor/bin/coveralls; fi;'

env:
global:
- secure: NIp6EaQ5PuW82Vz4VRQEKWQyvBiyyr328VGy6ssfYVcHscTxmWj/c6ItQva1YhRG+rkkqaxk5/12dV3DrXlseXXuXsTlSUUhccUpmQZwQksQaKd/WCCJGO5E6N0TWc7xZTKTarL6Ez9K8pbhJHfCLMKNAij0U+RGohUWGp6vjQI=
- secure: vrh60ZzJQdIjhFdX/PxYyk7w7b7rBq/xX365Ixyav/h7tJ8IfpkNiDlXNZkF0/6GnzWNPm66lQiBs+BXpwR5DzMK11c+5M7Yz9MP/XSCFzUOd52aj/wmAVsbFj3LSpcJL7BBOOWIVM5kAr6+KU/0ggwGzrUJ0Msv4oOfcDEjObs=
- secure: NIp6EaQ5PuW82Vz4VRQEKWQyvBiyyr328VGy6ssfYVcHscTxmWj/c6ItQva1YhRG+rkkqaxk5/12dV3DrXlseXXuXsTlSUUhccUpmQZwQksQaKd/WCCJGO5E6N0TWc7xZTKTarL6Ez9K8pbhJHfCLMKNAij0U+RGohUWGp6vjQI=
- secure: vrh60ZzJQdIjhFdX/PxYyk7w7b7rBq/xX365Ixyav/h7tJ8IfpkNiDlXNZkF0/6GnzWNPm66lQiBs+BXpwR5DzMK11c+5M7Yz9MP/XSCFzUOd52aj/wmAVsbFj3LSpcJL7BBOOWIVM5kAr6+KU/0ggwGzrUJ0Msv4oOfcDEjObs=
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
}
],
"require": {
"php": ">=5.3.3",
"ext-mbstring": "*"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master",
"phpunit/phpunit": "4.0.*"
"satooshi/php-coveralls": "0.6.*",
"phpunit/phpunit": "^4.8 || ^5.0"
},
"autoload": {
"psr-0": {
Expand Down

0 comments on commit cb3a70a

Please sign in to comment.