.travis.yml
1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
branches:
only:
- "master"
before_install:
- echo "installing PhantomJS 1.8.2"
- wget http://phantomjs.googlecode.com/files/phantomjs-1.8.2-linux-x86_64.tar.bz2
- tar -xvf phantomjs-1.8.2-linux-x86_64.tar.bz2
- sudo mv phantomjs-1.8.2-linux-x86_64/bin/phantomjs bin/phantomjs182
- ls -la bin/phantomjs182
- bin/phantomjs182 --version
- echo "installing PhantomJS 1.9.0"
- wget http://phantomjs.googlecode.com/files/phantomjs-1.9.0-linux-x86_64.tar.bz2
- tar -xvf phantomjs-1.9.0-linux-x86_64.tar.bz2
- sudo mv phantomjs-1.9.0-linux-x86_64/bin/phantomjs bin/phantomjs190
- bin/phantomjs190 --version
- ls -la bin/phantomjs190
- echo "installing PhantomJS 1.9.1"
- wget http://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
- tar -xvf phantomjs-1.9.1-linux-x86_64.tar.bz2
- sudo mv phantomjs-1.9.1-linux-x86_64/bin/phantomjs bin/phantomjs191
- bin/phantomjs191 --version
- ls -la bin/phantomjs191
- echo "installing PhantomJS 1.9.2"
- wget http://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2
- tar -xvf phantomjs-1.9.2-linux-x86_64.tar.bz2
- sudo mv phantomjs-1.9.2-linux-x86_64/bin/phantomjs bin/phantomjs192
- bin/phantomjs192 --version
- ls -la bin/phantomjs192
- sudo apt-get install -qq mono-devel mono-mcs
before_script:
- "npm install -g jshint@2.0.1"
- bin/phantomjs182 --version
- bin/phantomjs190 --version
- bin/phantomjs191 --version
- bin/phantomjs192 --version
script:
- make test
- make test-dotNET
env:
matrix:
- PHANTOMJS_EXECUTABLE="bin/phantomjs182 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
- PHANTOMJS_EXECUTABLE="bin/phantomjs190 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
- PHANTOMJS_EXECUTABLE="bin/phantomjs191 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
- PHANTOMJS_EXECUTABLE="bin/phantomjs192 --local-to-remote-url-access=yes --ignore-ssl-errors=yes"
notifications:
irc:
channels:
- "irc.freenode.org#casperjs"