-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 814 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
sudo: required
language: node_js
services:
- docker
- xvfb
node_js:
- v8
- v10
- v12
## Missing dependency for Cypress https://github.com/cypress-io/cypress/issues/4069
addons:
apt:
packages:
- libgconf-2-4
## Cache NPM folder and Cypress binary
## to avoid downloading Cypress again and again
cache:
directories:
- ~/.npm
- ~/.cache
override:
# use the new "ci" command for fastest installs on CI
- npm install
- npm run all:cy:verify
before_script:
## we use the '&' ampersand which tells
## travis to run this process in the background
## else it would block execution and hang travis
- npm run all:deps-ci
- NODE_ENV=test npm run all:infra-start --silent &
# FIXME: Wait until infra is ready (300s)
- sleep 300
script:
- npm run all:test-ci