-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
36 lines (36 loc) · 1.5 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
language: node_js
node_js:
- v9
install:
- npm install --ignore-scripts
- npm install -g codecov
jobs:
include:
- # for branches not master, set node environment to development
if: branch != master
env: NODE_ENV=development
script:
- npm run emit
- npm run lint
- npm run coverage
- npm run pull
- npm run build-workers
- npm run build-fragment
- npm run build:next
- mkdir build && mv .next build/ && mv lib/* build/ && mv package.json build/ && mv static build/ && mv Dockerfile build/ && mv nginx build/ && mv docker-compose.yml build/ && mv process.yml build/
- zip -q -r build.zip build
cache:
- ~/.npm
deploy:
provider: releases
api_key: $GITHUB_KEY
file_glob: true
file: 'build.zip'
skip_cleanup: true
on:
tags: true
env:
matrix:
secure: uI9UmplGKeLQLFYSE3RnXWmrYnyZ4TCEiVjnF9Z7SZL4QDzYnWI2aa4YUQHX1d6f/lb9aJmX/ENBLRcgn1CiumqMq20iaF2gZJDJdYSqMC4WKvFhg66B3gpCBnTBP6inW7QzA+0OZzvdLn0gxOVHCGoZsgchf6NJz/bO3FDMcviTRqPVB0hARfxHacZ59Q//xIMRJOqeOS9IV1/SoR+6KCrx0sAxvyKBXUZfErZs4bNSdjp3ote+yS1rMJSMjS9MQtJlVTqHSF/AyL7iIdRzxGLKlOeF79QU/rNVn7UCZhonHZfLNi7uHcNVkpv4QySWCRopCEXDom0s+WKdV3loB3C2xs2/6LlUeuT6XRZgKd4piaey8IO5UoJ/qeMkkNk53nCWWF2MkwAQd6wd2CJKxy+5Z+2S8vE0S+hNXTaR6DJqboVb1LbWQFPrw3QqblAHABcvphvEsWdlwQNDIF5+Q/vjGIJyYSPhDHvsfP8GU3CREMZqqwd8JeUAkaWE9InfJePysCtq8LwD9dHZZO2UEtMY2uC94pzJhuAPv++NzALM2k2o23Ha2eQ5U1ddxCwrD0p/uUnsMM4HRUaIYGcHxu9fpkKeA2cWVFP9fIkPRNQzU+E3cF5BKwdEpUZituVNS2ywoNkGQgMToa4V2S/JhyOVNXK/FutMAtwrciUkslc=
notifications:
slack: devinitorg:TFrmOb61t4X0PRFdZyHBU04F