Browse Source

Travis integration (#22)

master
Nicolas Perriault 5 years ago
committed by GitHub
parent
commit
fdb0948c19
  1. 8
      .travis.yml
  2. 2
      package.json

8
.travis.yml

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

2
package.json

@ -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",

Loading…
Cancel
Save