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

Commit 6247a51

Browse files
committed
Removed osx and windows travis test
1 parent 736b138 commit 6247a51

File tree

2 files changed

+16
-36
lines changed

2 files changed

+16
-36
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
os:
2-
- osx
3-
- linux
4-
- windows
5-
61
language: php
2+
php:
3+
- 7.1
74

85
cache:
96
directories:
107
- vendor
118
- $HOME/.composer/cache
129

13-
php:
14-
- 7.1
15-
1610
before_install:
1711
- sh .travis/install.sh
1812

.travis/install.sh

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,24 @@
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

0 commit comments

Comments
 (0)