-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
27 lines (25 loc) · 979 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
language: node_js
node_js:
- "10.13"
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
- webdriver-manager update
#- npm run build:lib && npm run build:fullapp
# - 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
- webdriver-manager update
- node node_modules/protractor/bin/webdriver-manager update
- node_modules/protractor/bin/webdriver-manager update