forked from beltran/gohive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 933 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
sudo: required
language: go
services:
- docker
go:
- "1.22.0"
branches:
only:
- master
- coveralls
addons:
sources:
- deadsnakes # source required so it finds the package definition below
packages:
- python3.8
hosts:
- hs2.example.com
- hm.example.com
- kerberos.example.com
before_install:
- go install github.com/mattn/goveralls@latest
- 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.8
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
- python3.8 get-pip.py --user
- set -e
- go fmt ./...
- PATH=$PATH:$HOME/.local/bin bash ./scripts/integration.sh
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci