forked from dainst/cilantro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (28 loc) · 793 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
language: python
sudo: required
services:
- docker
python:
- 3.6
env:
global:
- DOCKER_COMPOSE_VERSION=1.21.1
- BROKER_USER=user
- BROKER_PASSWORD=password
- REPOSITORY_DIR=/data/repository
- WORKING_DIR=/data/workspace
- STAGING_DIR=/data/staging
- CONFIG_DIR=/config
- UID=2000
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
- mkdir data
- mkdir data/staging
- mkdir data/repository
- mkdir data/workspace
- docker-compose build
- docker-compose up -d
script: docker exec cilantro_cilantro-test_1 python -m unittest