.gitlab-ci.yml 883 Bytes
Newer Older
Ievgen Vovk's avatar
Ievgen Vovk committed
1
before_script:
Ievgen Vovk's avatar
Ievgen Vovk committed
2
    - 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" > /etc/apt/sources.list
Ievgen Vovk's avatar
Ievgen Vovk committed
3
    
Ievgen Vovk's avatar
Ievgen Vovk committed
4
5
    - 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
Ievgen Vovk's avatar
Ievgen Vovk committed
6
    
Ievgen Vovk's avatar
Ievgen Vovk committed
7
8
    - apt-get update -qq
    - apt-get -t testing install python3.7
Ievgen Vovk's avatar
Ievgen Vovk committed
9

Ievgen Vovk's avatar
Ievgen Vovk committed
10
11
12
13
14
    #- apt-get install -y -qq python3-pip
    - 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 -e .
Ievgen Vovk's avatar
Ievgen Vovk committed
15
    
Ievgen Vovk's avatar
Ievgen Vovk committed
16
17
18
19
run_tests:
    script:
        - echo "Yes!"
        # - pytest -vvs