summaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olivere/elastic.v5/.travis.yml
blob: 31fe3bd1277edee0df07795e33331f35ae0af4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.3.0 elasticsearch >& /dev/null &
  - sleep 15