diff --git a/.travis.yml b/.travis.yml index bc11dbb7..c6342a11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,8 +15,9 @@ after_success: - npm run coverage before_deploy: - - ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME-`uname -m`.tar" + - export ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME.tar" - npm run prebuild + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run prebuildify-cross-armv7; fi - tar --create --verbose --file="$ARCHIVE_NAME" --directory "$TRAVIS_BUILD_DIR/prebuilds" . deploy: diff --git a/appveyor.yml b/appveyor.yml index 16a477e6..daafba0e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ platform: install: - SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;%PATH% - ps: Install-Product node $env:nodejs_version $env:platform - - set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH% + - SET PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH% - git submodule update --init --recursive - npm i diff --git a/package.json b/package.json index 35ae4ccf..725bf73d 100644 --- a/package.json +++ b/package.json @@ -13,13 +13,14 @@ "download-prebuilds": "prebuildify-ci download", "hallmark": "hallmark --fix", "dependency-check": "dependency-check . test/*.js bench/*.js", - "prepublishOnly": "npm run dependency-check" + "prepublishOnly": "npm run dependency-check", + "prebuildify-cross-armv7": "prebuildify-cross --platform=linux --arch=arm --arm-version=7 -- -t 8.14.0 --napi --strip" }, "dependencies": { "abstract-leveldown": "~6.0.0", "fast-future": "~1.0.2", "napi-macros": "~1.8.1", - "node-gyp-build": "~3.7.0" + "node-gyp-build": "~3.8.0" }, "devDependencies": { "async": "^2.0.1", @@ -35,8 +36,9 @@ "node-gyp": "^3.8.0", "nyc": "^12.0.2", "optimist": "~0.6.1", - "prebuildify": "^2.10.0", + "prebuildify": "prebuild/prebuildify#override-platform", "prebuildify-ci": "^1.0.4", + "prebuildify-cross": "ralphtheninja/prebuildify-cross#TARGET_PLATFORM", "readfiletree": "~0.0.1", "rimraf": "^2.6.1", "slump": "^3.0.0",