-
Notifications
You must be signed in to change notification settings - Fork 52
/
.travis.yml
34 lines (34 loc) · 1 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
language: node_js
node_js:
- 11
- 10
- 8
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y gawk jq
jobs:
include:
- stage: publish code coverage
node_js: "8"
script:
- npm run test:node:coverage
- yarn coverage
- stage: release docs
if: type != pull_request AND branch = master
node_js: "8"
script:
- yarn generate-docs
- yarn travis-deploy-github-pages
- stage: lerna publish and npm release
if: type != pull_request AND tag IS present
node_js: "8"
script:
- scripts/publish.sh
sudo: required
dist: xenial
addons:
chrome: stable
env:
global:
- secure: ZKLEofNJCHSzJzfmayPgRdDWqD5N5g7OPs+gJELmwopAKCUaoOH4H5iH0eg1TZzcAoPL/qwU+gheEW1V7Io4PmVB2WUXUdBP9vaqZlrIw/sa6RD/51jpx4MkXd6ciXl1vmiWMnqPBj+S0NuYjKOt1tGMPDiOtK96UUVNA8uRMrs=
- secure: sAfy698oA7zJdVEYt+MrBFlmbXIC0Xg+PSIA6bc6klp11yfgXS3vIXM5cW4MuijLJhxvPDmGzhsgVHB+pIQXffeVYKQypCp6JcoDG6OyUxUglvHoLaIfpMD+jQzu2I05EFCxyRZWrq+i5tMWZjkUPUfRJrXtnXEYqm2A5cWPOHs=