Skip to content

Commit

Permalink
add travis/appveyor configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Sep 23, 2017
1 parent 99ad316 commit c321b40
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
@@ -0,0 +1,10 @@
language: node_js
node_js:
- "stable"

env:
global:
- BUILD_TIMEOUT=10000

install:
- npm install
15 changes: 15 additions & 0 deletions appveyor.yml
@@ -0,0 +1,15 @@
environment:
matrix:
- nodejs_version: "stable"

version: "{build}"
build: off
deploy: off

install:
- npm install

test_script:
- node --version
- npm --version
- npm test
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
],
"scripts": {
"build": "rollup -c",
"test": "mocha test/test.js --compilers js:./register",
"test": "mocha test/test.js",
"pretest": "npm run build",
"prepublish": "npm test",
"lint": "eslint src"
Expand Down

0 comments on commit c321b40

Please sign in to comment.