Skip to content

Commit fb3f879

Browse files
author
Norbert Orzechowicz
committed
Merge pull request #4 from norzechowicz/travis
Updated travis.ci configuration file
2 parents a92b47d + 9cd947d commit fb3f879

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-10
lines changed

.travis.yml

+25-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
11
language: php
22

3-
php:
4-
- 5.3
5-
- 5.4
6-
- 5.5
3+
sudo: false
74

8-
before_script:
9-
- curl -s http://getcomposer.org/installer | php
10-
- php composer.phar --dev install
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
matrix:
10+
include:
11+
- php: 5.3
12+
env: DEPENDENCIES='low'
13+
- php: 5.3
14+
- php: 5.4
15+
- php: 5.5
16+
- php: 5.6
17+
- php: hhvm
18+
allow_failures:
19+
- env: DEPENDENCIES='low'
20+
21+
before_install:
22+
- composer self-update
23+
24+
install:
25+
- export COMPOSER_ROOT_VERSION=dev-master
26+
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
27+
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
1128

1229
script:
13-
- bin/phpspec run -v -f pretty
30+
- ./bin/phpspec run --format=pretty

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"symfony/intl": "~2.5"
1919
},
2020
"require-dev": {
21-
"phpspec/phpspec": "2.0.*",
22-
"coduo/phpspec-data-provider-extension": "dev-master"
21+
"phpspec/phpspec": "^2",
22+
"coduo/phpspec-data-provider-extension": "^1"
2323
},
2424
"autoload": {
2525
"psr-0": {"" : "src"}

0 commit comments

Comments
 (0)