forked from emissary-ingress/emissary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (49 loc) · 2.18 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
language: python
python:
- "3.6"
addons:
apt:
packages:
- bsdtar
cache:
directories:
- $HOME/.cache/pip
- $HOME/.npm
# Do not run in Travis CI when the branch name starts with "nobuild". Primarily
# intended for documentation updates but may be used as an escape hatch for
# other purposes.
branches:
except:
- /^nobuild.*$/
services:
- docker
env:
global:
- DOCKER_REGISTRY=quay.io/datawire
# Set the branch in a predictable way. Travis behavior is that when you are
# executing due to a PR then the value of $TRAVIS_BRANCH is actually the
# name of the base branch (e.g. "master" rather than "dev/new-feature").
#
# See also: https://graysonkoonce.com/getting-the-current-branch-name-during-a-pull-request-in-travis-ci/
- GIT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then printf "$TRAVIS_BRANCH"; else printf "$TRAVIS_PULL_REQUEST_BRANCH"; fi)
# Set from the repository settings:
#- DOCKER_BUILD_USERNAME=[secure] (optional)
#- DOCKER_BUILD_PASSWORD=[secure] (optional)
#- DOCKER_RELEASE_USERNAME=[secure]
#- DOCKER_RELEASE_PASSWORD=[secure]
# Encrypted here:
# - PACKAGECLOUD_TOKEN # XXX: remove me
# - PYPI_PASSWORD # XXX: remove me
# - AWS_ACCESS_KEY_ID
# - AWS_SECRET_ACCESS_KEY
- secure: "F9oY34UDI8aXuZ9nb6z3/ltlqrNs4RUQHDZHa2YSFoq0r2Rn272Yg7oHfPh3deYNKxtUOBwwcpiC/7G9MqhkuLQEYhqY/KowidG6gOxCZdTDEVS10C4GDEMGj64URlUCS722tQYMIpniiB6LW2kEOOcEuzC6JsVxS7BowUEVk7Ly8BTzrgNuGFN2bSphRyrJyrS3Reo5a1YI3joUMzI29t7fegefTIHHONKhZpIE86wFRk11nwvJdt54Eu9dVFwiEiGW9L9SnG2ph4UiqN6z3iQFCQ8HNvnf+BvNasdMBR3f85DPnG/syqOcQrrE1e5T88UXRxyUwR2ty1ad+ZvQPggwsoFs1FmdJH04pGn0Tgpo/AHNe5c67tvDbw2W4jlFJgVI/keoFvQigSM2DUuL1i0v48TkZw8lgcfasRjtJi7iDTC4qqjyMLkY6y2TRTVDG/86qxK3No7vvJZajzntU3c6MUttiSDubaHL5RuklQ+7MjN5Dp1cD09L3Qqnm9KcjWzbNoyqriBO84VU4aJFF72jJ18qADX/UUj7cxi0ShY19BHX2Vrp3pPSNiePfO7okUrg5Wc4eD7u4eC+aUVHboEX35NhBnfj7/ASrsltIANYFmNarv3tvd67JIsm/Wz3pge6YOSV1pBr2IsGk5UVIXdJ/mm6GVWFlJ9PiELDBGc="
install:
- ./releng/travis-install.sh
- PATH=~/bin:$PATH
- source ~/.gimme/envs/latest.env
script:
- ./releng/travis-script.sh
after_script:
# release the kubernaut claim
- ./releng/travis-cleanup.sh