c64d755106db0019994d3c19597226a1a2f526fe
[yaffs-website] / vendor / jcalderonzumba / gastonjs / .travis.yml
1 language: php
2
3 php:
4   - 5.4
5   - 5.5
6   - 5.6
7   - 7.0
8   - hhvm
9
10 matrix:
11   fast_finish: true
12   include:
13     - php: 5.4
14       env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' SYMFONY_DEPRECATIONS_HELPER=weak
15     - php: 5.6
16       env: DEPENDENCIES=dev
17   allow_failures:
18     - php: 7.0
19     - php: hhvm
20
21 cache:
22   directories:
23     - $HOME/.composer/cache/files
24
25 before_install:
26   - composer self-update
27   - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
28
29 install:
30   - composer update $COMPOSER_FLAGS
31
32 script:
33   - bin/run-tests.sh
34
35 after_script:
36   - ps axo pid,command | grep phantomjs | grep -v grep | awk '{print $1}' | xargs -I {} kill {}
37   - ps axo pid,command | grep php | grep -v grep | awk '{print $1}' | xargs -I {} kill {}