-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
32 lines (27 loc) · 927 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
# Required to run your project under the correct environment.
language: php
# Versions of PHP you want your project run with.
php:
- 5.4
- 5.5
- 5.6
- hhvm
# Commands to be run before your environment runs.
before_script:
- composer self-update
- composer install --no-progress --prefer-source --no-interaction --dev
- printf "\n" | pecl install yaml
- echo "extension=yaml.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# Commands you want to run that will verify your build.
script: vendor/bin/phpunit --configuration phpunit.xml --coverage-text
# allow_failures: Allow this build to fail under the specified environments.
# fast_finish: If your build fails do not continue trying to build, just stop.
matrix:
allow_failures:
- php: 5.6
- php: hhvm
fast_finish: true
# Customize when the notification emails are sent.
notifications:
on_success: never
on_failure: always