-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
52 lines (41 loc) · 1.6 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: python
python:
- "3.7"
env:
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=grox
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=exoplanet
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=ice-and-fire
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=martian
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=msp
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=planetzor
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=10 SERVICE=spacesos
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=20 SERVICE=all
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=grox
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=exoplanet
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=ice-and-fire
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=martian
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=msp
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=planetzor
- DOCKER_COMPOSE_VERSION=1.25.0 RUNS=200 SERVICE=spacesos
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
install:
- sudo apt-get update
- sudo apt-get install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential
- pip install -r checkers/requirements.txt
- export SERVICES="$(ls services | xargs)"
- 'echo "Found services: $SERVICES"'
- ./start.sh "$SERVICE"
before_script:
- sleep 60
script:
- ./check.sh "$SERVICE"
after_script:
- ./stop.sh
after_failure:
- ./logs.sh