-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml.bak
43 lines (36 loc) · 861 Bytes
/
.travis.yml.bak
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
language: node_js
node_js:
- '10'
## Cache NPM folder and Cypress binary
## to avoid downloading Cypress again and again
cache:
yarn: true
directories:
- node_modules
- ~/.npm
- ~/.cache
install:
- yarn
- yarn global add codecov
before_script:
- yarn start &
script:
- yarn test --coverage=true
- codecov
## now run cypress headlessly
## and record all of the tests.
## Cypress will search for a
## CYPRESS_RECORD_KEY environment
## variable by default and apply
## this to the run.
- yarn cypress:run:record
## alternatively we could specify
## a specific record key to use
## like this without having to
## configure environment variables
## - cypress run --record --key <your_record_key>
## to prevent 'libgconf-2.so.4: cannot open shared object file'
addons:
apt:
packages:
- libgconf-2-4