Skip to content

Commit 391cf14

Browse files
authored
Merge pull request #295 from stof/travis_setup
Fix some Travis issues
2 parents 01bd0d7 + 3b6257c commit 391cf14

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cache:
66
directories:
77
- $HOME/.composer/cache/files
88

9-
php: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, hhvm]
9+
php: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2]
1010

1111
env:
1212
- WEBDRIVER=selenium
@@ -19,14 +19,18 @@ matrix:
1919
sudo: required
2020
services:
2121
- docker
22+
- php: 5.3
23+
dist: precise
24+
# Force using PHP 5.6 for the test server as PHP 5.3 does not have the builtin webserver
25+
env: MINK_PHP_BIN=~/.phpenv/versions/5.6/bin/php
2226

2327
before_script:
2428
- sh bin/run-"$WEBDRIVER".sh
2529

2630
- composer install
2731

28-
# 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
29-
- MINK_PHP_BIN=~/.phpenv/versions/5.6/bin/php vendor/bin/mink-test-server > /dev/null 2>&1 &
32+
# Start a webserver for web fixtures.
33+
- vendor/bin/mink-test-server > /dev/null 2>&1 &
3034

3135
script: phpunit -v --coverage-clover=coverage.clover
3236

0 commit comments

Comments
 (0)