Skip to content

Commit e856fe0

Browse files
committed
Update the Travis setup
- add testing on PHP 7 - use Selenium 2.49.1 - use phantomjs 2.1.1 for the Phantom 2 builds
1 parent bedbf19 commit e856fe0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
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, hhvm]
9+
php: [5.3, 5.4, 5.5, 5.6, 7, hhvm]
1010

1111
env:
1212
- WEBDRIVER=selenium

bin/run-phantomjs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ set -e
33

44
if [ "2" = "$PHANTOM_VERSION" ]; then
55
mkdir travis-phantomjs
6-
wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
7-
tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
6+
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
7+
tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
88
export PATH=$PWD/travis-phantomjs:$PATH
99
fi
1010

bin/run-selenium.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export DISPLAY=:99.0
77
sleep 4
88

99
echo ' Downloading selenium'
10-
curl -L http://selenium-release.storage.googleapis.com/2.46/selenium-server-standalone-2.46.0.jar > selenium.jar
10+
curl -L http://selenium-release.storage.googleapis.com/2.49/selenium-server-standalone-2.49.1.jar > selenium.jar
1111
echo ' Running selenium'
1212
java -jar selenium.jar > /dev/null 2>&1 &

0 commit comments

Comments
 (0)