-
Notifications
You must be signed in to change notification settings - Fork 56
/
appveyor.yml
31 lines (28 loc) · 867 Bytes
/
appveyor.yml
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
# Test against the latest version of this Node.js version
environment:
nodejs_version: "8"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
- cinst elm-platform
- refreshenv
# install modules
- node --version
- elm --version
- npm ci
- rm -rf elm-stuff
- rm -rf tests/elm-stuff
- rm -rf dist
# Post-install test scripts.
test_script:
- npm run js:validate-format
- ./node_modules/.bin/elm-format --validate src/ tests/ docs/
- ./node_modules/.bin/eslint js
- npm run elm:test
- ./node_modules/.bin/tsc
- elm make src/Analyser.elm --output dist/app/backend-elm.js
- elm make src/Client.elm --output dist/public/client-elm.js
- elm make docs/Docs/Main.elm --output docs/docs.js
- node ./dist/app/bin/index.js
build: off