hunk.code_window: CI_INBUCKET_HOST=inbucket
   CI_MINIO_HOST=minio
   CI_INBUCKET_PORT=10080
   CI_MINIO_PORT=9000
   CI_INBUCKET_SMTP_PORT=10025
   CI_LDAP_HOST=openldap
   IS_CI=true
   MM_EMAILSETTINGS_SMTPSERVER=inbucket
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit: CI_INBUCKET_PORT=9001
  
hunk.file_path: build/dotenv/test.env
hunk.type: replace
file: 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/...
  