summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 8ccbcb93ead17d51f006a986a4297cc14fabbbf4 (plain)
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
archlinux:
  image: "archlinux:latest"
  before_script:
    - pacman -Sy python python-pip python-numpy diffutils --noconfirm --needed
    - pip install build
    - pip install .
  script:
    - ./tests/run.py

debian:
  image: "debian:latest"
  before_script:
    - apt update && apt install -y python3 python3-pip python-is-python3
    - pip install numpy
    - pip install build
    - pip install .
  script:
    - ./tests/run.py

ubuntu:
  image: "ubuntu:latest"
  before_script:
    - apt update && apt install -y python3 python3-pip python-is-python3
    - pip install numpy
    - pip install build
    - pip install virtualenv
    - export PATH=${PATH}:${HOME}/.local/bin
    - virtualenv myenv
    - source myenv/bin/activate
    - pip install .
  script:
    - ./tests/run.py