blob: 75c77f36bc2a6a1e5b3627a814f472a64b1d92f0 (
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
build:
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
- export STACK_ROOT="$(pwd)/.stack"
- stack setup
- stack install --only-dependencies
- stack build
- stack exec cooking build
artifacts:
paths:
- public
only:
- master
|