-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
41 lines (35 loc) · 1.34 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
29
30
31
32
33
34
35
36
37
38
39
40
41
sudo: false
language: node_js
node_js:
- '6'
- '7'
- '8'
- '9'
notifications:
email:
on_success: always
on_failure: always
matrix:
fast_finish: true
deploy:
provider: npm
api_key:
secure: deowQmEb1PKVWN2A9tXSdyRaVO5tTd16oZqn7rc8VPid8o+JPy+2Iv4YnQPshXn1ToYbSpSndW0whhDPHON9hBYgdsNWIvUDEDtEx20ca+7NaafDdaY3cFWag+aGGs1OLak/u3JUSyspvzRjG0POi2WX5s8izW6RyIWT0cs6zxk=
email: steven.jmiller@gmail.com
on:
repo: yargalot/AccessSniff
branch: master
tags: true
cache:
directories:
- travis_phantomjs
before_install:
# Upgrade PhantomJS to v2.1.1.
- "export PHANTOMJS_VERSION=2.1.1"
- "export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64/bin:$PATH"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_VERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2; fi"
- "if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
- "phantomjs --version"
after_success:
- bash <(curl -s https://codecov.io/bash)