forked from discos/srt-single-dish-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
39 lines (34 loc) · 1.01 KB
/
.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
image: registry.gitlab.com/matteobachetti/docker_image_for_tests:latest
before_script: # configure a headless display to test plot generation
- export DISPLAY=:1.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
test:3.6:
stage: test
script:
- source activate py36
- conda install h5py statsmodels
- python setup.py test --coverage
- coverage report -m --rcfile=srttools/tests/coveragerc
test:3.5no_sm:
stage: test
script:
- source activate py35
- conda install h5py
- python setup.py test --coverage
- coverage report -m --rcfile=srttools/tests/coveragerc
allow_failure: true
test:3.4:
stage: test
script:
- source activate py34
- conda install h5py statsmodels
- python setup.py test --coverage
- coverage report -m --rcfile=srttools/tests/coveragerc
test:2.7:
stage: test
script:
- source activate py27
- conda install h5py statsmodels
- python setup.py test --coverage
- coverage report -m --rcfile=srttools/tests/coveragerc