Skip to content

Commit

Permalink
Merge pull request #4 from norzechowicz/travis
Browse files Browse the repository at this point in the history
Updated travis.ci configuration file
  • Loading branch information
Norbert Orzechowicz committed Dec 13, 2015
2 parents a92b47d + 9cd947d commit fb3f879
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
33 changes: 25 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
language: php

php:
- 5.3
- 5.4
- 5.5
sudo: false

before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar --dev install
cache:
directories:
- $HOME/.composer/cache

matrix:
include:
- php: 5.3
env: DEPENDENCIES='low'
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: hhvm
allow_failures:
- env: DEPENDENCIES='low'

before_install:
- composer self-update

install:
- export COMPOSER_ROOT_VERSION=dev-master
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;

script:
- bin/phpspec run -v -f pretty
- ./bin/phpspec run --format=pretty
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"symfony/intl": "~2.5"
},
"require-dev": {
"phpspec/phpspec": "2.0.*",
"coduo/phpspec-data-provider-extension": "dev-master"
"phpspec/phpspec": "^2",
"coduo/phpspec-data-provider-extension": "^1"
},
"autoload": {
"psr-0": {"" : "src"}
Expand Down

0 comments on commit fb3f879

Please sign in to comment.