This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
102 lines (87 loc) · 2.73 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
sudo: required
dist: xenial
notifications:
slack: ska-sip:zgaO4jJWwB4UjFRulowC5g56
services:
- docker
language:
- python
- cpp
python:
- 3.6
cache: pip
stages:
- tests
jobs:
include:
- stage: test
name: "Execution Control: Configuration Database"
install:
- pip install -r testing_requirements.txt
- pip install -r sip/execution_control/configuration_db/requirements.txt
before_script:
- docker swarm init
- docker service create -p 6379:6379 --name=config_db redis:5.0.1-alpine
script: ./tools/run_tests.sh sip/execution_control/configuration_db
after_success:
- coveralls
- stage: test
name: "Execution Control: Processing Block Controller"
install:
- pip install -r testing_requirements.txt
- pip install -r sip/execution_control/processing_block_controller/requirements.txt
before_script:
- docker swarm init
- docker service create -p 6379:6379 --name=config_db redis:5.0.1-alpine
script:
- ./tools/run_tests.sh sip/execution_control/processing_block_controller
after_success:
- coveralls
- stage: test
name: "Execution Control: Processing Controller"
install:
- pip install -r testing_requirements.txt
- pip install -r sip/execution_control/processing_controller/requirements.txt
before_script:
- docker swarm init
- docker service create -p 6379:6379 --name=config_db redis:5.0.1-alpine
script:
- ./tools/run_tests.sh sip/execution_control/processing_controller
after_success:
- coveralls
- stage: test
name: "Execution Control: Master Controller"
install:
- pip install -r testing_requirements.txt
- pip install -r sip/execution_control/master_controller/requirements.txt
before_script:
- docker swarm init
- docker service create -p 6379:6379 --name=config_db redis:5.0.1-alpine
script: ./tools/run_tests.sh sip/execution_control/master_controller
after_success:
- coveralls
- stage: test
name: "Tango Control: Flask Master"
install:
- pip install -r testing_requirements.txt
- pip install -r sip/tango_control/flask_master/requirements.txt
script: ./tools/run_tests.sh sip/tango_control/flask_master
after_success:
- coveralls
- stage: test
name: "Platform: Logging library (skasip-logging)"
install:
- pip install -r testing_requirements.txt
script: ./tools/run_tests.sh sip/platform/logging
after_success:
- coveralls
- stage: test
name: "Visibility Ingest Receiver"
install:
- pip install -r testing_requirements.txt
- pip install urllib3==1.21.1
- pip install cpp-coveralls==0.4.2
- sudo apt-get install -y cppcheck
- sudo apt-get install -y valgrind
script:
./tools/run_c_tests.sh