forked from CNES/ccsdsmo-malc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (38 loc) · 1.11 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
sudo: required
language: c
services:
- docker
matrix:
include:
- env:
- "DOCKER_OS=CentOS"
- "DOCKER_TAG=centos"
- "TEST_SPLIT=false"
- "TEST_TCP=false"
services:
- docker
- env:
- "DOCKER_OS=OpenSuse"
- "DOCKER_TAG=opensuse"
- "TEST_SPLIT=false"
- "TEST_TCP=false"
services:
- docker
- env:
- "DOCKER_OS=CentOS"
- "DOCKER_TAG=centos"
- "TEST_SPLIT=true"
- "TEST_TCP=true"
services:
- docker
- env:
- "DOCKER_OS=OpenSuse"
- "DOCKER_TAG=opensuse"
- "TEST_SPLIT=true"
- "TEST_TCP=true"
services:
- docker
before_install:
- docker build -t malc-$DOCKER_TAG -f ${DOCKER_OS}Dockerfile .
script:
- docker run --rm=true -v $HOME:$HOME:rw malc-$DOCKER_TAG /bin/bash -c "cd $PWD && sh ./bin/update_known_projects.sh /usr/local/bin/zproject_known_projects.xml && sed -i -e 's/#define TEST_SPLIT.*/#define TEST_SPLIT $TEST_SPLIT/' -e 's/#define TEST_TCP.*/#define TEST_TCP $TEST_TCP/' ./test/testarea/include/testarea.h && ./genmakeall"