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