-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from norzechowicz/travis
Updated travis.ci configuration file
- Loading branch information
Showing
2 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters