forked from EICT/C-BAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 845 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
language: python
python:
- "2.7"
# install database service
services:
- mongodb
# install dependencies
install:
- "sudo apt-get update -qq"
- "sudo apt-get install swig libxmlsec1 xmlsec1"
- "pip install -r requirements.txt"
# setup environment and start Ohouse
before_script:
- "cp deploy/config.json.example deploy/config.json"
- "cp deploy/registry.json.example deploy/registry.json"
- "cp deploy/supplementary_fields.json.example deploy/supplementary_fields.json"
- "./test/creds/gen-certs.sh cbas.eict.de"
- "python src/main.py &"
- "sleep 5"
# run Python unit tests
script:
- "python test/unit/v2/reg_tests.py"
- "python test/unit/v2/sa_tests.py"
- "python test/unit/v2/ma_tests.py"
- "python test/combined/tests.py"
# notify result of build to email address
notifications:
email: