forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (34 loc) · 950 Bytes
/
.travis.yml
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
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
script:
- mvn test
- mvn test -f shade-test/pom.xml
cache:
directories:
- '$HOME/.m2/repository'