-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (30 loc) · 856 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
28
29
30
31
32
33
34
35
36
37
38
sudo: required
services:
- docker
language: node_js
node_js:
- 'stable'
- 'lts/*'
cache:
yarn: true
directories:
- node_modules
env:
global:
- RAILS_ENV=test
- DRIVER=selenium_chrome
- CHROME_BIN=/usr/bin/google-chrome
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq xvfb libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen scn 1600x1200x16"
install:
- npm config set spin false
script:
- yarn
- npm run test:ci
- npm run report
after_success:
- './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'