forked from tango-controls/rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 796 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
sudo: false
language: java
env:
matrix:
- MTANGOREST_VERSION=rc4-1.5 DOCKER_COMPOSE_VERSION=1.12.0
notifications:
email: false
services:
- docker
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose --version
before_script:
- docker-compose up -d
#TODO wait-for-it
- sleep 30
- docker ps
script:
- >
mvn test
-Dtango.rest.url=http://localhost:10001/tango/rest
-Dtango.host=tango-cs
-Dtango.port=10000
-Dtango.rest.auth.method=basic
-Dtango.rest.user=tango-cs
-Dtango.rest.password=tango
-Ptest-suite