forked from nemosupremo/vault-gatekeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (35 loc) · 874 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
44
45
language: go
sudo: required
dist: trusty
before_install:
- cd $HOME
- mv $HOME/gopath/src/github.com/ChannelMeter $HOME/gopath/src/github.com/channelmeter
- TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/channelmeter/vault-gatekeeper-mesos
- cd $HOME/gopath/src/github.com/channelmeter/vault-gatekeeper-mesos
#cache:
# directories:
services:
- docker
env:
global:
- GOMAXPROCS=2
- PATH=$PATH:$HOME/.minimesos/bin
go:
- 1.6
install:
- curl -sSL https://minimesos.org/install | sh
- go get .
script:
- set -e
# TODO: reenable
# - minimesos up
- docker run -d -p 8200:8200 --hostname vault --name vault vault server -dev -dev-root-token-id=vault-gatekeeper-test-token-id
- bash integration.sh
- go vet .
after_script:
# TODO: reenable
# - minimesos destroy
- docker stop vault
- docker rm vault
#notifications:
# - email: false