diff --git a/.travis.yml b/.travis.yml index 4b49534..3904b68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ before_install: install: - npm install -- sudo ./bin.js configure +- sudo -E npm run configure before_deploy: - ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME.tar" diff --git a/package.json b/package.json index 7b5b620..cdb67d9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "install": "node-gyp-build", "test": "tape test/*.js", "prebuild": "prebuildify -a --strip", - "prebuild-ia32": "prebuildify -a --strip --arch=ia32" + "prebuild-ia32": "prebuildify -a --strip --arch=ia32", + "configure": "node bin.js configure" }, "gypfile": true, "dependencies": {