diff --git a/.travis.yml b/.travis.yml index ae803e6a9..1f99eb6b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: node_js node_js: - '0.11.13' -script: - - "npm install" - - "make test-travis-all" + - '0.11.14' +before_install: "npm install --build-from-source" +script: "make test-travis-all" after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls" diff --git a/Makefile b/Makefile index 80fa16527..06a95b90a 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ REGISTRY = --registry=https://registry.npm.taobao.org DB = sqlite install: - @npm install $(REGISTRY) \ + @npm install --build-from-source $(REGISTRY) \ --disturl=https://npm.taobao.org/dist jshint: install