This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-36
lines changed Expand file tree Collapse file tree 2 files changed +16
-36
lines changed Original file line number Diff line number Diff line change 1- os :
2- - osx
3- - linux
4- - windows
5-
61language : php
2+ php :
3+ - 7.1
74
85cache :
96 directories :
107 - vendor
118 - $HOME/.composer/cache
129
13- php :
14- - 7.1
15-
1610before_install :
1711 - sh .travis/install.sh
1812
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- if [[ $TRAVIS_OS_NAME == ' osx' ]]; then
3+ # Install some custom requirements on Linux
4+ if [ $( phantomjs --version) != ' 2.1.1' ]; then
45
5- # Install some custom requirements on OS X
6- brew update
6+ echo " Installing phantomjs ..." ;
77
8- brew install phantomjs
8+ rm -rf $PWD /travis_phantomjs;
9+ mkdir -p $PWD /travis_phantomjs;
10+ fi
911
10- phantomjs --version
12+ if [ $( phantomjs --version) != ' 2.1.1 ' ] ; then
1113
12- elif [[ $TRAVIS_OS_NAME == ' linux' ]]; then
14+ 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;
15+ fi
1316
14- # Install some custom requirements on Linux
15- if [ $( phantomjs --version) != ' 2.1.1' ]; then
17+ if [ $( phantomjs --version) != ' 2.1.1' ]; then
1618
17- rm -rf $PWD /travis_phantomjs;
18- mkdir -p $PWD /travis_phantomjs;
19- fi
19+ tar -xvf $PWD /travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD /travis_phantomjs;
20+ fi
2021
21- if [ $( phantomjs --version ) != ' 2.1.1' ] ; then
22+ export PATH= $PWD /travis_phantomjs/ phantomjs- 2.1.1-linux-x86_64/bin: $PATH
2223
23- 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;
24- fi
25-
26- if [ $( phantomjs --version) != ' 2.1.1' ]; then
27-
28- tar -xvf $PWD /travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD /travis_phantomjs;
29- fi
30-
31- export PATH=$PWD /travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
32-
33- phantomjs --version
34-
35- elif [[ $TRAVIS_OS_NAME == ' windows' ]]; then
36-
37- echo " Ok dude! :||||"
38- fi
24+ phantomjs --version
You can’t perform that action at this time.
0 commit comments