File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,12 @@ before_script:
3333 - wget -O ext/run-tests.php https://raw.githubusercontent.com/php/php-src/master/run-tests.php
3434 # Use the BEHAT_EXTRA_OPTIONS to supply options to Behat runs
3535 - BEHAT_EXTRA_OPTIONS=
36- -
if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; then BEHAT_EXTRA_OPTIONS="${BEHAT_EXTRA_OPTIONS} [email protected] "; fi 37- - export BEHAT_EXTRA_OPTIONS
36+ # Use the BEHAT_SKIP_TAGS to skip tests on TravisCI
37+ - BEHAT_SKIP_TAGS=~@skip-travisci
38+ -
if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; then BEHAT_SKIP_TAGS="${BEHAT_SKIP_TAGS}&&[email protected] "; fi 39+ - export BEHAT_EXTRA_OPTIONS BEHAT_SKIP_TAGS
3840
3941script :
4042 - cd ext && make test && cd "$TRAVIS_BUILD_DIR" # .phpt tests
4143 - ./bin/phpunit
42- - ./bin/behat ${BEHAT_EXTRA_OPTIONS}
44+ - ./bin/behat --tags="${BEHAT_SKIP_TAGS}" ${BEHAT_EXTRA_OPTIONS}
Original file line number Diff line number Diff line change 1- @php-version-5.4
1+ @php-version-5.4 @skip-travisci
22Feature : Persistent Sessions
33
44 PHP Driver sessions can persist
You can’t perform that action at this time.
0 commit comments