forked from cta-observatory/ctapipe_io_magic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
23 lines (18 loc) · 1.1 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
before_script:
- printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main\n" > /etc/apt/sources.list
- echo "deb http://ftp.de.debian.org/debian testing main" >> /etc/apt/sources.list
- echo 'APT::Default-Release "stable";' | tee -a /etc/apt/apt.conf.d/00local
- cat /etc/apt/sources.list
- apt-get update -qq
- DEBIAN_FRONTEND=noninteractive apt-get -t testing install -yq python3.6
- apt-get -t testing install -y -qq python3-pip
- apt-get -t testing install -y -qq python3-pytest
- export CTAPIPE_VERSION=master
- pip3 install https://github.com/cta-observatory/ctapipe/archive/$CTAPIPE_VERSION.tar.gz
# - pip3 install https://github.com/cta-observatory/ctapipe-extra/archive/$CTAPIPE_VERSION.tar.gz
- pip3 install https://github.com/IevgenVovk/ctapipe-extra/archive/$CTAPIPE_VERSION.tar.gz
- pip3 install -e .
run_tests:
script:
# - echo "Yes!"
- pytest-3 -vvs