a41f938cec
As we have seen, dependencies version can prevent the build. We should user lock versions on dependencies that we know work: * Packages are vendored * Add Godep support * Added addtional install step in readme * Fix travis build error
17 lignes
481 o
YAML
17 lignes
481 o
YAML
sudo: required
|
|
language: go
|
|
go:
|
|
- 1.7
|
|
- 1.8
|
|
- tip
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
services:
|
|
- docker
|
|
before_script:
|
|
- mkdir -p /tmp/elasticsearch/config
|
|
- cp -r config/* /tmp/elasticsearch/config/
|
|
- sudo sysctl -w vm.max_map_count=262144
|
|
- docker run --rm --privileged=true -p 9200:9200 -p 9300:9300 -v "/tmp/elasticsearch/config:/usr/share/elasticsearch/config" -e ES_JAVA_OPTS='-Xms1g -Xmx1g' elasticsearch:5.4.0 elasticsearch >& /dev/null &
|
|
- sleep 15
|