.gitlab-ci.yml 292 Bytes
Newer Older
Valentin Reis's avatar
Valentin Reis committed
1
stages:
Valentin Reis's avatar
Valentin Reis committed
2
  - build
Valentin Reis's avatar
Valentin Reis committed
3 4 5 6 7
  - test

nix.test:
  stage: test
  script:
Valentin Reis's avatar
Valentin Reis committed
8
    ./tests.hs
Valentin Reis's avatar
Valentin Reis committed
9 10 11
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
Valentin Reis's avatar
Valentin Reis committed
12 13 14 15 16 17 18 19 20 21 22

image: docker:stable

before_script:
 - docker info

build:
 stage: build
 script:
   - docker build -t custom-nix-docker- .
   - docker run custom-nix-docker- ./test.hs