forked from att-comdev/openstack-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (29 loc) · 906 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
language: go
services:
- docker
before_install:
- export GLIDE_VERSION=v0.12.3
- ls $GOPATH/src/
- wget "https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz"
- mkdir -p $HOME/bin
- tar -vxz -C $HOME/bin --strip=1 -f glide-$GLIDE_VERSION-linux-amd64.tar.gz
- export PATH="$HOME/bin:$PATH" GLIDE_HOME="$HOME/.glide"
install:
- cd $GOPATH/src/
- mkdir k8s.io && cd k8s.io
- git clone https://github.com/kubernetes/helm
- cd helm && make bootstrap build
- mv bin/helm $HOME/bin
script:
- cd $TRAVIS_BUILD_DIR
- bash travis-ci/kubeadm_setup.sh
- $GOPATH/src/k8s.io/helm/bin/tiller &
- export HELM_HOST=localhost:44134
- helm init --client-only
- helm version
- helm serve &
- sleep 1m
- helm repo add local http://localhost:8879/charts
- helm repo update
- make
- bash travis-ci/charts_dry_run.sh