UNPKG

653 BYAMLView Raw
1sudo: false
2
3language: node_js
4node_js: "8.11.4"
5
6os:
7 - linux
8
9env:
10 matrix:
11 - ELM_VERSION=0.19.0
12
13before_install:
14 - npm i -g npm@lts
15
16install:
17 - npm ci
18
19script:
20 - echo '$TRAVIS_TAG is ' $TRAVIS_TAG
21 - npm test
22 - npm run approve
23 - cd examples/src/subscription/ && npm install && npm run build && cd ../../..
24
25deploy:
26 - provider: npm
27 email: dillon@dillonkearns.com
28 api_key: $NPM_TOKEN
29 skip_cleanup: true
30 on:
31 all_branches: true
32 condition: $TRAVIS_TAG =~ ^v
33 - provider: pages
34 skip_cleanup: true
35 github_token: $GITHUB_TOKEN
36 local_dir: examples/src/subscription/dist
37 on:
38 branch: master