Fix bug in style changes for the Use cases on the live site.
[yaffs-website] / vendor / behat / mink-goutte-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 before_install:
12   # Force using Goutte 2 on HHVM for now because Guzzle 6 is broken there
13   - if [ "hhvm" = "$TRAVIS_PHP_VERSION" ]; then composer require fabpot/goutte '~2' --no-update; fi
14
15 install:
16   - composer install
17
18 before_script:
19   - export WEB_FIXTURES_HOST=http://localhost:8000
20
21   # 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
22   - ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t vendor/behat/mink/driver-testsuite/web-fixtures > /dev/null 2>&1 &
23
24 script: phpunit -v --coverage-clover=coverage.clover
25
26 after_script:
27   - wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover