forked from esrf-bliss/Lima
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.gitlab-ci.yml
54 lines (47 loc) · 948 Bytes
/
.gitlab-ci.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
# image : docker-registry.esrf.fr/bcu/lima-ci-debian8:latest
#before_script :
stages:
- build
- test
build-python2 :
stage: build
script:
- update-alternatives --set python /usr/bin/python2.7
- ./install.sh --git tests python
- ls -l
artifacts:
paths:
- build/
tags:
- lima
build-python3 :
stage: build
script:
- update-alternatives --set python /usr/bin/python3.4
- ./install.sh --git tests python
- ls -l
artifacts:
paths:
- build/
tags:
- lima
test-python2 :
stage: test
dependencies:
- build-python2
script:
- update-alternatives --set python /usr/bin/python2.7
- cd build/
- ctest --timeout 10 --output-on-failure
tags:
- lima
test-python3 :
stage: test
dependencies:
- build-python3
script:
- update-alternatives --set python /usr/bin/python3.4
- cd build/
- ctest --timeout 10 --output-on-failure
tags:
- lima