-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (30 loc) · 1.1 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
sudo: true
dist: trusty
language: node_js
#node_js:
# - 5
before_install:
#- export CHROME_URL=https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64
#- export CHROME_REV=$(curl -s ${CHROME_URL}/LAST_CHANGE)
#- curl ${CHROME_URL}/${CHROME_REV}/chrome-linux.zip --create-dirs -o out/chrome-linux.zip
#- unzip out/chrome-linux.zip -d out
#- export CHROME_CANARY_BIN=$PWD/out/chrome-linux/chrome
#- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
## latest stable chrome
- sh -e /etc/init.d/xvfb start
- export DISPLAY=:99.0
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo dpkg --remove-architecture i386
- sudo apt-get clean
- sudo apt-get update
- sudo apt-get install dpkg
- sudo apt-get install google-chrome-stable --allow-unauthenticated
- export CHROME_BIN=google-chrome-stable
before_script:
- npm install -g jsdoc
- npm install --save jsdoc gulp-shell
- npm install -g gulp
script:
- gulp