-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy path.travis.yml
27 lines (26 loc) · 811 Bytes
/
.travis.yml
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
branches:
only:
- master
language: node_js
node_js:
- "5.2"
before_install:
- npm install -g brunch@2.2.3
- mkdir travis-phantomjs
- 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
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
- cd ~/casperjs
- git checkout tags/1.1-beta5
- export PATH=$PATH:`pwd`/bin
- cd -
before_script:
- brunch --version
- phantomjs --version
- casperjs --version
- brunch build --production
- cd public
- python -m SimpleHTTPServer 3333 &
- cd -
- sleep 5