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:
33
33
- wget -O ext/run-tests.php https://raw.githubusercontent.com/php/php-src/master/run-tests.php
34
34
# Use the BEHAT_EXTRA_OPTIONS to supply options to Behat runs
35
35
- 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
38
40
39
41
script :
40
42
- cd ext && make test && cd "$TRAVIS_BUILD_DIR" # .phpt tests
41
43
- ./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
2
2
Feature : Persistent Sessions
3
3
4
4
PHP Driver sessions can persist
You can’t perform that action at this time.
0 commit comments