1 | sudo: false
|
2 |
|
3 | language: node_js
|
4 | node_js: "8.11.4"
|
5 |
|
6 | os:
|
7 | - linux
|
8 |
|
9 | env:
|
10 | matrix:
|
11 | - ELM_VERSION=0.19.0
|
12 |
|
13 | before_install:
|
14 | - npm i -g npm@lts
|
15 |
|
16 | install:
|
17 | - npm ci
|
18 |
|
19 | script:
|
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 |
|
25 | deploy:
|
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
|