-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
34 lines (32 loc) · 959 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
28
29
30
31
32
33
34
language: node_js
node_js:
- '4.1.2'
sudo: false
cache:
directories:
- node_modules
before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"
- "npm install -g codeclimate-test-reporter"
- "phantomjs -v"
addons:
code_climate:
install:
- mkdir travis-phantomjs
- wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
- tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
- export PATH=$PWD/travis-phantomjs:$PATH
- "phantomjs -v"
- npm install -g bower
- npm install
- bower install
script:
- npm test
after_script:
- codeclimate < lcov.info
env:
global:
secure: H7nvmycAHnnkfRWKveo5mn4cns7sV2lqLSmVB3kD7WsnIY/Dq4hls/trlGjyf9P4TWHplHQOj/XrTOv0LP4lleoQ5OfZ5GtPTBzKpqr16mv8GSeRH0xvfWC4nk71ggK3gz6lpFP4Dv+pnocjWOBm9FYwi1CiSPii19948MlyDFU=
sudo: false