-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·44 lines (38 loc) · 942 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
39
40
41
42
43
44
language: node_js
sudo: required
dist: trusty
os:
- linux
node_js:
- "10.6.0"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
stages:
- install
- format
- export
- tests
jobs:
include:
- stage: install
script: travis_retry npm install --depth 0 --silent
- stage: format
script: travis_retry npm run lint
env: LABEL=lint
- stage: export
script: travis_retry npm run export
env: LABEL=export
- stage: export
script: travis_retry npm run preview
env: LABEL=preview
- stage: tests
script: travis_retry npm run test:export
env: LABEL=test:export
- stage: tests
script: travis_retry npm run test:docs
env: LABEL=test:docs
- stage: tests
script: travis_retry npm run test:e2e
env: LABEL=test:e2e