forked from jsGanttImproved/jsgantt-improved
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (21 loc) · 768 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
language: node_js
node_js:
- "9"
addons:
chrome: stable
services:
- xvfb
before_script:
- "export DISPLAY=:99.0"
# - "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- npm run dist
- http-server & # start a Web server
- sleep 3 # give Web server some time to bind to sockets, etc
before_install:
- npm install -g http-server browserify webdriver-manager
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
install:
- npm install
- ./node_modules/protractor/bin/webdriver-manager update --versions.chrome 2.35