forked from datawire/ambassador-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 762 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
---
env:
global:
- CI=travis
- IS_CI=true
- E2E_CLEANUP=true
# - PROVIDER="kubernaut"
- PROVIDER="k3d"
# PUSH_CHART must be != "false" for pushing the chart
- PUSH_CHART="true"
- AWS_BUCKET="datawire-static-files"
install:
- export PATH=~/bin:$PATH
- source ~/.gimme/envs/latest.env
- ./ci/install.sh
- ./ci/providers/providers.sh setup
- ./ci/providers/providers.sh create
language: generic
branches:
only:
- master
- /^v.*$/
- ci-test
script:
- ./ci/run_test.sh
after_script:
- ./ci/providers/providers.sh delete
deploy:
provider: script
script: bash ./ci/push_chart.sh
on:
# FIXME: use "branch: master" for publishing only in tags in "master"
branch: master
#all_branches: true