forked from olivere/elastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml.off
41 lines (41 loc) · 997 Bytes
/
.travis.yml.off
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
sudo: required
language: go
matrix:
include:
- go: "1.13.x"
env:
- GO111MODULE=on
- go: "1.13.x"
env:
- GO111MODULE=off
- go: "1.14.x"
env:
- GO111MODULE=on
- go: "1.14.x"
env:
- GO111MODULE=off
- go: tip
env:
- GO111MODULE=off
allow_failures:
- go: tip
addons:
apt:
update: true
packages:
- docker-ce
services:
- docker
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" && ! $(which nc) ]] ; then sudo apt-get install -y netcat ; fi
- sudo sysctl -w vm.max_map_count=262144
- docker-compose pull
- docker-compose up -d
- go get -u github.com/google/go-cmp/cmp
- go get -u github.com/fortytw2/leaktest
- go get . ./aws/... ./config/... ./trace/... ./uritemplates/...
- while ! nc -z localhost 9200; do sleep 1; done
- while ! nc -z localhost 9210; do sleep 1; done
install: true # ignore the go get -t -v ./...
script:
- go test -race -deprecations -strict-decoder -v . ./aws/... ./config/... ./trace/... ./uritemplates/...