-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
28 lines (28 loc) · 1.16 KB
/
.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
language: node_js
node_js:
- '8'
addons:
sauce_connect: true
code_climate:
repo_token: 72207598c2d5d4f105a0a3edb1d02c21e85b9c64748d40fc62f37620df932e0f
before_install:
- gem install compass
- wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2
- tar -jxf phantomjs-1.9.8-linux-x86_64.tar.bz2 phantomjs-1.9.8-linux-x86_64/bin/phantomjs
- mkdir -p node_modules/.bin/
- mv phantomjs-1.9.8-linux-x86_64/bin/phantomjs node_modules/.bin/
install:
- 'npm install'
- 'npm install -g bower grunt-cli karma-cli'
- 'bower install'
- "git checkout app/index.html"
script:
- 'grunt test'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && grunt e2e-sauce || false'
after_script:
- codeclimate < test/reports/coverage/*/lcov.info
env:
global:
- secure: f0zQxOSew2ysDBhyHzB8CwRdp3Ll6MNVCHrAibIUVzDZuwuxCPBkIM7qd8mvnpJGr3GHFirNxT8khBvWKyhKDZct4DsceJVeYqoeB9J7gTbj1sxa9BKGof0p+0wqIWZ77Sp5i5UE32FP8X434OF/u5xpxttMllug0s5gdpxWlXo=
- secure: oMss10tPTQ0EwaBM/CVuTGVfFpwFFtlnlvF98YmkHTGZkW5HnrGW52prVMUUrGkEnyI6yqAhZEsYBNh7ZUSveraeMcPdDx5/oYrLi8vj7CRcKoidc+XZso66pvoL1SA+ea+5KTM0LFtMp4/vaxTzIo4Xi5mkO79fRqV/1MRU/ew=
sudo: false