-
Notifications
You must be signed in to change notification settings - Fork 36
/
.travis.yml
38 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
35
36
37
38
language: node_js
node_js:
- "11"
script:
- npm run lint
- ./build/process-template.sh kubernetes/Razee/razeedash-all-in-one.yaml > /tmp/razeedash-all-in-one.yaml
- ./build/process-template.sh kubernetes/Razee/razeedash.yaml > /tmp/razeedash.yaml
- ./build/process-template.sh kubernetes/Razee/razeedeploy.yaml > /tmp/razeedeploy.yaml
deploy:
# Deploy alpha builds
- provider: releases
file:
- /tmp/razeedash-all-in-one.yaml
- /tmp/razeedash.yaml
- /tmp/razeedeploy.yaml
skip_cleanup: true
prerelease: true
api_key: "${GITHUB_TOKEN}"
name: "${TRAVIS_TAG}"
on:
tags: true
condition: ${TRAVIS_TAG} =~ ^[0-9]+\.[0-9]+\.[0-9]+_[0-9]{3}$
# Deploy released builds
- provider: releases
file:
- /tmp/razeedash-all-in-one.yaml
- /tmp/razeedash.yaml
- /tmp/razeedeploy.yaml
skip_cleanup: true
api_key: "${GITHUB_TOKEN}"
name: "${TRAVIS_TAG}"
on:
tags: true
condition: ${TRAVIS_TAG} =~ ^[0-9]+\.[0-9]+\.[0-9]+$