-
Notifications
You must be signed in to change notification settings - Fork 736
/
.travis.yml
40 lines (32 loc) · 876 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
40
language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
- 7.0
- 7.1
- 7.2
- hhvm
matrix:
allow_failures:
- php: 5.3
- php: hhvm
fast_finish: true
branches:
only:
- master
install:
- /bin/bash ansible/provision.sh
before_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7" ]; then echo "extension=memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- if $(phpenv version-name | grep -q '5.3'); then sudo composer update --no-dev; sudo composer dump-autoload; fi
script:
- make phpunit
after_script:
- cat /var/log/elasticsearch/*.log
- cat /var/log/nginx/*.log
- sudo rm composer.lock && sudo composer require satooshi/php-coveralls dev-master --no-ansi --no-progress --no-interaction
- vendor/bin/coveralls -v
after_success:
- bash <(curl -s https://codecov.io/bash)