forked from beltran/gohive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 898 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
46
47
sudo: required
language: go
services:
- docker
go:
- "1.14"
- "1.15"
- "1.16"
branches:
only:
- master
- coveralls
- thrift_0.12
addons:
apt:
sources:
- deadsnakes # source required so it finds the package definition below
packages:
- python3.6
hosts:
- hs2.example.com
- kerberos.example.com
before_install:
- go get github.com/mattn/goveralls
- sudo apt-get -y install python3.6-dev
- sudo apt-get -y install krb5-user
- cat scripts/create_krbconf.sh
- sudo bash scripts/create_krbconf.sh
- docker network create com
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- python3.6 get-pip.py --user
- travis_retry go get github.com/beltran/gssapi
env:
- DOCKER_COMPOSE_VERSION=1.22.0 GO111MODULE=on
script:
- set -e
- go vet ./...
- go fmt ./...
- PATH=$PATH:$HOME/.local/bin bash ./scripts/integration.sh