-
Notifications
You must be signed in to change notification settings - Fork 55
/
.travis.yml
43 lines (38 loc) · 1.13 KB
/
.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
language: node_js
node_js:
- '10.15'
addons:
chrome: stable
apt:
packages:
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
- libgconf-2-4
- jq
cache:
npm: true
directories:
# we also need to cache folder with Cypress binary
- ~/.cache
env:
global:
- REACT_ENV=development
- TEST_REACT_NATIVE=false
- BUNDLESIZE_GITHUB_TOKEN=63f6d1717c6652d63234cf9629977b08f4bac3fd
# - REACT_APP_NETWORK_ID=4447
- MNEMONIC="myth like bonus scare over problem client lizard pioneer submit female collect"
- ADMIN_MNEMONIC="they bus duty candy uncover assault bullet kitchen kit acid spin physical"
- CI=false
matrix:
include:
- if: env(DEPLOY_VERSION) IS NOT present
script:
- npm run test:setup
- npm run coverage
- npm run coveralls || true
- pkill -f ganache
- if: env(DEPLOY_VERSION) IS present
script:
- npm version $DEPLOY_VERSION
- git push https://[email protected]/$TRAVIS_REPO_SLUG $DEPLOY_FROM:$DEPLOY_TO
after_failure:
- cat /home/travis/.npm/_logs/*-debug.log