language: java
jdk:
  - oraclejdk8
sudo: required
services:
  - docker

before_install:
  - env
# Pre-fetch docker images
  - docker pull redis:3.0.2
  - docker pull rabbitmq:3.5.3
  - docker pull mongo:3.1.5
  - docker pull alpine:3.2
  - docker pull mysql:latest
  - docker pull mysql:5.5.43
  - docker pull mysql:5.6
  - docker pull mysql:5.5
  - docker pull postgres:latest
  - docker pull selenium/standalone-chrome-debug:2.45.0
  - docker pull selenium/standalone-firefox-debug:2.45.0
  - docker pull richnorth/vnc-recorder:latest
  - docker pull nginx:1.9.4
  - docker pull dduportal/docker-compose:1.3.1
  - docker pull richnorth/ambassador:latest
  - export DOCKER_HOST=tcp://127.0.0.1:2375
  - export DOCKER_TLS_VERIFY=0
  - env

cache:
  directories:
    - '$HOME/.m2/repository'
language: java
jdk:
  - oraclejdk8
sudo: required
services:
  - docker

before_install:
  - env
# Pre-fetch docker images - seems to need to be done before docker env vars are set
  - docker pull redis:3.0.2
  - docker pull rabbitmq:3.5.3
  - docker pull mongo:3.1.5
  - docker pull alpine:3.2
  - docker pull mysql:latest
  - docker pull mysql:5.5.43
  - docker pull mysql:5.6
  - docker pull mysql:5.5
  - docker pull postgres:latest
  - docker pull selenium/standalone-chrome-debug:2.45.0
  - docker pull selenium/standalone-firefox-debug:2.45.0
  - docker pull richnorth/vnc-recorder:latest
  - docker pull nginx:1.9.4
  - docker pull dduportal/docker-compose:1.3.1
  - docker pull richnorth/ambassador:latest
# Update env vars required by testcontainers
  - export DOCKER_HOST=tcp://127.0.0.1:2375
  - export DOCKER_TLS_VERIFY=0
  - env

cache:
  directories:
    - '$HOME/.m2/repository'
Add comments to Travis build file
Add comments to Travis build file
