Security update for permissions_by_term
[yaffs-website] / vendor / behat / mink-selenium2-driver / .travis.yml
1 language: php
2
3 sudo: false
4
5 cache:
6   directories:
7     - $HOME/.composer/cache/files
8
9 php: [5.3, 5.4, 5.5, 5.6, 7.0, hhvm]
10
11 env:
12   - WEBDRIVER=selenium
13
14 matrix:
15   allow_failures:
16     - env: 'WEBDRIVER=phantomjs'
17     - env: WEBDRIVER=phantomjs PHANTOM_VERSION=2
18   fast_finish: true
19   include:
20     - php: 5.5
21       env: WEBDRIVER=phantomjs
22     - php: 5.5
23       env: WEBDRIVER=phantomjs PHANTOM_VERSION=2
24
25 before_script:
26   - export WEB_FIXTURES_HOST=http://localhost:8000
27   - export WEB_FIXTURES_BROWSER=firefox
28
29   - sh bin/run-"$WEBDRIVER".sh
30
31   - composer install --prefer-source
32
33   # Start a webserver for web fixtures. Force using PHP 5.6 to be able to run it on PHP 5.3 and HHVM jobs too
34   - ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t vendor/behat/mink/driver-testsuite/web-fixtures > /dev/null 2>&1 &
35
36 script: phpunit -v --coverage-clover=coverage.clover
37
38 after_script:
39   - wget https://scrutinizer-ci.com/ocular.phar
40   - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
41
42 after_failure:
43   - cat /tmp/webdriver_output.txt