-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (30 loc) · 848 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file is part of the BenGorUser package.
#
# (c) Beñat Espiña <benatespina@gmail.com>
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
- hhvm
env:
- COMPOSER_OPTIONS="--prefer-source"
before_install:
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "7.0" ]]; then echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
install:
- composer update --no-interaction ${COMPOSER_OPTIONS}
script:
- vendor/bin/phpspec run -fpretty
cache:
directories:
- $COMPOSER_CACHE_DIR
matrix:
fast_finish: true
allow_failures:
- php: 7.0
- php: hhvm