forked from stil4m/elm-analyse
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
28 lines (25 loc) · 876 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
# 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
# install modules
- node --version
- npm install
- 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
- ./node_modules/.bin/elm make src/Analyser.elm --output dist/app/backend-elm.js
- ./node_modules/.bin/elm make src/Client.elm --output dist/public/client-elm.js
- ./node_modules/.bin/elm make docs/Docs/Main.elm --output docs/docs.js
- node ./dist/app/bin/index.js
build: off