Skip to content

Commit

Permalink
Remove prebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Dec 2, 2017
1 parent 0d842a5 commit 6402996
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Expand Up @@ -9,23 +9,24 @@ node_js:
- "6"
- "7"
- "8"
- "9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- g++-6
env:
global:
- JOBS=2
matrix:
- TEST_SUITE=unit-ci
- TEST_SUITE=unit
matrix:
fast_finish: true
include:
- os: linux
node_js: "6"
node_js: "8"
env: TEST_SUITE=lint
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-6; fi
script: npm run $TEST_SUITE
9 changes: 3 additions & 6 deletions appveyor.yml
Expand Up @@ -14,12 +14,9 @@ platform:
install:
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version $env:platform
- npm -g i npm@latest
- npm --global install npm@latest
- set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH%
- npm i --ignore-scripts
- npm install
- for /f %%i in ('node -v') do set exact_nodejs_version=%%i
- prebuild -b %exact_nodejs_version% --strip
test_script:
- npm run unit-ci
on_success:
- for %%i in (prebuilds\*) do appveyor PushArtifact %%i
- npm run unit
8 changes: 2 additions & 6 deletions package.json
Expand Up @@ -31,26 +31,22 @@
"scripts": {
"coverage": "nyc tape test/index.js",
"coverage-lcov": "npm run coverage && nyc report -r lcov",
"install": "prebuild-install || node-gyp rebuild || echo \"Keccak bindings compilation fail. Pure JS implementation will be used.\"",
"install": "npm run rebuild || echo \"Keccak bindings compilation fail. Pure JS implementation will be used.\"",
"libkeccak": "./util/libkeccak.sh",
"lint": "standard",
"rebuild": "node-gyp rebuild",
"test": "npm run lint && npm run unit",
"unit": "tape test/index.js",
"unit-ci": "npm run unit && prebuild-ci"
"unit": "tape test/index.js"
},
"dependencies": {
"bindings": "^1.2.1",
"inherits": "^2.0.3",
"nan": "^2.2.1",
"prebuild-install": "^2.0.0",
"safe-buffer": "^5.1.0"
},
"devDependencies": {
"browserify": "^14.1.0",
"nyc": "^11.0.2",
"prebuild": "^6.0.0",
"prebuild-ci": "^2.2.0",
"proxyquire": "^1.7.10",
"standard": "^10.0.2",
"tape": "^4.5.1"
Expand Down

0 comments on commit 6402996

Please sign in to comment.