-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (39 loc) · 1.37 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
language: node_js
node_js:
- stable
env:
matrix:
- BUILD_LEADER_ID=4
global:
secure: e9JatoaJARM8e6HvzJiVdWR99jAItOtuNk60upDG+hCHvVXcACnGwqFoPqpv79aiNdle8uZ/YyZIVslTLvXKOy1vy8kL3ozNLY7l/tdmTe9HyetDVBQ5laGXttEZ+10bQhquQ7A8cyqdbAMnlkid3U4JuR59hEyDLTE5Ilqvdukay9g6Tk1C1T6EqcGL4IxkKmZN+wjND7ffriZllKfOmoJkZNWZyIZtwzuwUXKD1YvKL6Udq57iu8D2DrUe/yKIYKEIuIatEbci45/t38+GM5kqHl6AlflJwGedVdz3MpNHbm2uUuhCK7cc+psWpyCpXk/K8nRk/0bwV68BSqtiC3YQoCY77ysXyZKoTSIA6wYtjayjOc1BXunFfDw/L531UFFj2U3gTMWClIqO3ytcrlOVauMwsxJEBu1DOdSI41QMpQ+mb1As7wucYCIYmwsuauJWF0DupwPt4L+B6szD0sf+V6ViHdjvyJAaaU4t+vyJ22LCpzunOGd0jVvNRymRB0IWNp/Chl5dRaRtYW6lntwQQbo4vluaNbah+WvPWQ+Mweqt5F2CXebivTX9UkguKapqjvnfDP8Ay1Cf3r2eni9u1wzNiijuwlBIamwd6FdcJvZQ5WcnGyM7v/OyqHL6i9De1iZXGzJjsdK9tqf/QbLTwjph9Htg7Ms6qk4GlbQ=
cache:
yarn: true
directories:
- node_modules
- '~/.npm'
stages:
- test
- npm release
notifications:
email:
on_success: change
on_failure: always
jobs:
include:
- stage: test
before_install: npm install -g yarn
script:
- commitlint-travis
- yarn test
after_success:
- yarn codecov
if: type IN (push, pull_request)
- stage: npm release
if: branch = master
skip-cleanup: true
node_js:
- stable
before_install: npm install -g yarn
script: yarn build
after_success:
- yarn semantic-release