-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (34 loc) · 860 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
language: node_js
matrix:
include:
- node_js: 12
if: type IN (push) AND type NOT IN (pull_request)
env: JOB="testPR" # only on PR
- node_js: 12
if: type IN (pull_request)
env: JOB="integration"
- node_js: 12
if: type IN (pull_request)
env: JOB="mutation"
- node_js: 12
if: type IN (pull_request)
env: JOB="e2e"
addons:
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
- libgconf-2-4
cache:
# Caches $HOME/.npm when npm ci is default script command
# Caches node_modules in all other cases
npm: true
yarn: true
directories:
# we also need to cache folder with Cypress binary
- ~/.cache
install:
- yarn install --frozen-lockfile
script:
- yarn $JOB
after_success:
- $(npm bin)/codecov