aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 24abfc04926c31f92c56abeb9565d1bea3cb08b6 (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
image: haskell:latest

cache:
  paths:
  - .stack-work
  - output
  - node_modules
  - bower_components
  - yarn.lock

pages:
  script:
    - apt-get update
    - apt-get install -y curl
    - curl -sL https://deb.nodesource.com/setup_7.x | bash
    - apt-get install -y xz-utils make nodejs
    - npm install bower
    - npm install purescript
    - npm install pulp
    - export PATH="$(pwd)/node_modules/.bin":$PATH
    - bower install --allow-root
    - make test
    - export STACK_ROOT="$(pwd)/.stack"
    - stack setup
    - stack build
    - stack exec cooking build
  artifacts:
    paths:
      - public
  only:
    - master