annotate vendor/behat/mink-goutte-driver/.travis.yml @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 language: php
Chris@0 2
Chris@0 3 sudo: false
Chris@0 4
Chris@0 5 cache:
Chris@0 6 directories:
Chris@0 7 - $HOME/.composer/cache/files
Chris@0 8
Chris@0 9 php: [5.3, 5.4, 5.5, 5.6, 7.0, hhvm]
Chris@0 10
Chris@0 11 before_install:
Chris@0 12 # Force using Goutte 2 on HHVM for now because Guzzle 6 is broken there
Chris@0 13 - if [ "hhvm" = "$TRAVIS_PHP_VERSION" ]; then composer require fabpot/goutte '~2' --no-update; fi
Chris@0 14
Chris@0 15 install:
Chris@0 16 - composer install
Chris@0 17
Chris@0 18 before_script:
Chris@0 19 - export WEB_FIXTURES_HOST=http://localhost:8000
Chris@0 20
Chris@0 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
Chris@0 22 - ~/.phpenv/versions/5.6/bin/php -S localhost:8000 -t vendor/behat/mink/driver-testsuite/web-fixtures > /dev/null 2>&1 &
Chris@0 23
Chris@0 24 script: phpunit -v --coverage-clover=coverage.clover
Chris@0 25
Chris@0 26 after_script:
Chris@0 27 - wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover