scratch – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
115 | office | 1 | language: php |
2 | |||
3 | sudo: false |
||
4 | |||
5 | cache: |
||
6 | directories: |
||
7 | - vendor |
||
8 | - $HOME/.composer/cache |
||
9 | |||
10 | php: |
||
11 | - 5.5 |
||
12 | - 5.6 |
||
13 | - 7.0 |
||
14 | - hhvm |
||
15 | |||
16 | services: |
||
17 | - riak |
||
18 | - mongodb |
||
19 | - memcached |
||
20 | - redis-server |
||
21 | |||
22 | before_install: |
||
23 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]] ; then pecl channel-update pecl.php.net; fi; |
||
24 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then pecl install riak-beta; fi; |
||
25 | - if [[ $TRAVIS_PHP_VERSION =~ 5.[56] ]] ; then echo yes | pecl install apcu-4.0.10; fi; |
||
26 | - if [[ $TRAVIS_PHP_VERSION = 7.* ]] ; then pecl config-set preferred_state beta; echo yes | pecl install apcu; fi; |
||
27 | - if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]]; then phpenv config-add ./tests/travis/php.ini; fi; |
||
28 | |||
29 | install: |
||
30 | - travis_retry composer install |
||
31 | |||
32 | script: |
||
33 | - ./vendor/bin/phpunit -c ./tests/travis/phpunit.travis.xml -v |
||
34 | |||
35 | after_script: |
||
36 | - php vendor/bin/coveralls -v |
||
37 | |||
38 | matrix: |
||
39 | fast_finish: true |
||
40 | allow_failures: |
||
41 | - php: hhvm |
||
42 | - php: 7.0 |