Skip to content

Commit

Permalink
Added .travis.yml and NPM scripts for #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
pschfr committed Feb 17, 2019
1 parent 686137e commit b295599
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- 8
before_script:
- npm install
script: npm run build
deploy:
local-dir: www
provider: pages
skip-cleanup: true
github-token: $GITHUB_TRAVIS_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
on:
branch: master
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"serve": "node index.js; harp server --port $PORT",
"build": "node index.js; harp compile",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down

0 comments on commit b295599

Please sign in to comment.