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