1
0
Fork 0

Travis integration (#22)

This commit is contained in:
Nicolas Perriault 2017-04-21 14:49:00 +02:00 committed by GitHub
parent 0a9abd449c
commit fdb0948c19
2 changed files with 9 additions and 1 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
sudo: false
language:
- node_js
node_js:
- "7"
script:
- node_modules/.bin/elm-package install -y
- npm test

View File

@ -7,7 +7,7 @@
"copy-assets": "cp public/index.html build/ && cp public/style.css build/",
"deploy": "npm run build && node_modules/.bin/gh-pages --dist build/",
"live": "node_modules/.bin/elm-live src/Main.elm --dir=public/ --output=public/app.js --debug",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node_modules/.bin/elm-make src/Main.elm --warn --output /tmp/tooty.html"
},
"repository": {
"type": "git",