Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Apr 11, 2017
1 parent ddfa1fd commit 1cd2107
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ npm_bin= $$(npm bin)
all: test
install:
@npm i
test:
build:
@npm run build
test: build
@node --harmony \
${npm_bin}/istanbul cover ${npm_bin}/_mocha \
-- \
--timeout 10000 \
--require co-mocha
travis: install
travis: install build
@NODE_ENV=test $(BIN) $(FLAGS) \
./node_modules/.bin/istanbul cover \
./node_modules/.bin/_mocha \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"pre-commit": "1.1.1"
},
"scripts": {
"build": "node-gyp build",
"build": "node-gyp rebuild",
"test": "make test"
},
"pre-commit": [
Expand Down

0 comments on commit 1cd2107

Please sign in to comment.