.gitlab-ci.yml 663 Bytes
Newer Older
Mattia Rizzolo's avatar
Mattia Rizzolo committed
1 2
before_script:
  - apt-get -q update
3
  - mount -o remount,rw /dev
Mattia Rizzolo's avatar
Mattia Rizzolo committed
4 5 6 7 8
  - env DEBIAN_FRONTEND=noninteractive apt-get -q -y install --no-install-recommends aspcud apt-cudf
  - env DEBIAN_FRONTEND=noninteractive apt-get -q -y --solver aspcud -o APT::Solver::Strict-Pinning=0 -o Debug::pkgProblemResolver=yes build-dep .

.test_template: &test
  script:
9
    - py.test-3 -vv -l -r a --cov=diffoscope --cov-report=term-missing
Mattia Rizzolo's avatar
Mattia Rizzolo committed
10

11
unstable:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
12 13 14
  <<: *test
  image: debian:unstable

15
testing:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
16 17 18
  <<: *test
  image: debian:testing

19
stable-bpo:
Mattia Rizzolo's avatar
Mattia Rizzolo committed
20 21
  <<: *test
  image: debian:stable-backports
22
  allow_failure: true
23 24 25 26 27

ubuntu-devel:
  <<: *test
  image: ubuntu:devel
  allow_failure: true