-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
51 lines (39 loc) · 1.08 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
44
45
46
47
48
49
50
51
language: node_js
node_js:
- '8'
dist: trusty
sudo: false
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
directories:
- ./node_modules
before_install:
- npm install codecov -g
install:
- npm install
- npx lerna bootstrap
before_script:
- export CHROME_BIN=chromium-browser
script:
- npx lerna run lint --scope kauri-wallet
- npx lerna run travis:test --scope kauri-wallet
- npx lerna run travis:e2e --scope kauri-wallet
- npx lerna run prod --scope kauri-wallet # run the production build for pref tests
- npx lerna run size --scope kauri-wallet
- npx lerna run lighthouse --scope kauri-wallet
notifications:
email: false
after_success:
- cat packages/kauri-wallet/coverage/lcov.info | codecov
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- "./send.sh success $WEBHOOK_URL"
after_failure:
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- "./send.sh failure $WEBHOOK_URL"