Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
Update php version in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjosh committed Oct 30, 2019
1 parent 23469e3 commit 463e6f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: php
php:
- 7.1
- 7.2

cache:
directories:
Expand Down
6 changes: 3 additions & 3 deletions .travis/install.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#!/bin/bash

# Install some custom requirements on Linux
if [ $(phantomjs --version) != '2.1.1' ]; then
if [[ $(phantomjs --version) != '2.1.1' ]]; then

echo "Installing phantomjs ...";

rm -rf $PWD/travis_phantomjs;
mkdir -p $PWD/travis_phantomjs;
fi

if [ $(phantomjs --version) != '2.1.1' ]; then
if [[ $(phantomjs --version) != '2.1.1' ]]; then

wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2;
fi

if [ $(phantomjs --version) != '2.1.1' ]; then
if [[ $(phantomjs --version) != '2.1.1' ]]; then

tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs;
fi
Expand Down

0 comments on commit 463e6f6

Please sign in to comment.