summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 5b61eaf8a9018568e7594584147a2c214bbc273e (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
34
35
36
37
38
39
40
41
42
43
44
45
46
archlinux:
  image: "archlinux:latest"
  before_script:
    - pacman -Sy python python-pip python-numpy diffutils --noconfirm --needed
    - pip install build --break-system-packages
    - pip install . --break-system-packages
  script:
    - ./tests/run.sh

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

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

fedora:
  image: "fedora:latest"
  before_script:
    - yum -y update && yum -y install python3 pip
    - pip install numpy
    - pip install build
    - pip install virtualenv
    - virtualenv myenv
    - source myenv/bin/activate
    - pip install .
  script:
    - ./tests/run.sh