blob: 9677cd617a1cd6dfe8a535f41aed723db0cbf45b (
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
|
image: haskell:latest
variables:
STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
STACK_OPTS: "--system-ghc"
cache:
paths:
- .stack
- .stack-work
- target
- output
- node_modules
- bower_components
- yarn.lock
pages:
script:
- apt-get update
- apt-get install -y curl
- curl -sL https://deb.nodesource.com/setup_8.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
|