Skip to content

Commit 1c2d5c4

Browse files
committed
Updated travis.ci configuration file
1 parent a92b47d commit 1c2d5c4

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

.travis.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
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: 7.0
18+
- php: hhvm
19+
allow_failures:
20+
- env: DEPENDENCIES='low'
21+
22+
before_install:
23+
- composer self-update
24+
25+
install:
26+
- export COMPOSER_ROOT_VERSION=dev-master
27+
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
28+
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
1129

1230
script:
13-
- bin/phpspec run -v -f pretty
31+
- ./bin/phpspec run --format=pretty

0 commit comments

Comments
 (0)