-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
43 lines (35 loc) · 893 Bytes
/
.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
40
41
42
43
# Travis build file
dist: trusty
language: node_js
node_js:
- 11
git:
quiet: true
depth: 1
before_script:
- if [ $TRAVIS_TAG != '' ]; then
npm run travis:setversion $TRAVIS_TAG;
fi
- npm install -g athom-cli
script:
- npm run test
- npm run dist
deploy:
- provider: pages
github-token: $GITHUB_OAUTH_TOKEN
skip_cleanup: true
keep-history: false
target-branch: release/$TRAVIS_TAG
local-dir: ../homey-heating-dist
on:
tags: true
- provider: script
skip_cleanup: true
script: npm run travis:sentry -- releases files homey-heating@${TRAVIS_TAG:1} upload-sourcemaps ../homey-heating-dist --rewrite --ignore-file scripts/.sentryignore
on:
tags: true
- provider: script
skip_cleanup: true
script: npm run travis:sentry -- releases set-commits homey-heating@${TRAVIS_TAG:1} --auto
on:
tags: true