Skip to content

Commit 9724304

Browse files
committed
Remove prebuild
1 parent e7b7d42 commit 9724304

4 files changed

Lines changed: 9 additions & 18 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
coverage
33
build
44
node_modules
5-
prebuilds
65

76
npm-debug.log

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ addons:
1515
sources:
1616
- ubuntu-toolchain-r-test
1717
packages:
18-
- g++-4.8
18+
- g++-6
1919
env:
2020
global:
2121
- JOBS=2
2222
matrix:
23-
- TEST_SUITE=unit-ci
23+
- TEST_SUITE=unit
2424
matrix:
2525
fast_finish: true
2626
include:
2727
- os: linux
28-
node_js: "6"
28+
node_js: "8"
2929
env: TEST_SUITE=lint
3030
before_install:
31-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8; fi
31+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-6; fi
3232
script: npm run $TEST_SUITE

appveyor.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ environment:
88
- nodejs_version: "6"
99
- nodejs_version: "7"
1010
- nodejs_version: "8"
11-
- nodejs_version: "9"
1211
platform:
1312
- x86
1413
- x64
1514
install:
1615
- git submodule update --init --recursive
1716
- ps: Install-Product node $env:nodejs_version $env:platform
18-
- npm -g install npm@latest
17+
- npm --global install npm@latest
1918
- set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH%
2019
- npm install
2120
- for /f %%i in ('node -v') do set exact_nodejs_version=%%i
22-
- prebuild -b %exact_nodejs_version% --strip
2321
test_script:
24-
- npm run unit-ci
25-
on_success:
26-
- for %%i in (prebuilds\*) do appveyor PushArtifact %%i
22+
- npm run unit

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@
3939
"scripts": {
4040
"coverage": "RANDOM_TESTS_REPEAT=1 nyc tape test/index.js",
4141
"coverage-lcov": "npm run coverage && nyc report -r lcov",
42-
"install": "prebuild-install || node-gyp rebuild || echo \"Secp256k1 bindings compilation fail. Pure JS implementation will be used.\"",
42+
"install": "npm run rebuild || echo \"Secp256k1 bindings compilation fail. Pure JS implementation will be used.\"",
4343
"lint": "standard",
44-
"rebuild": "prebuild --compile",
44+
"rebuild": "node-gyp rebuild",
4545
"test": "npm run lint && npm run unit",
4646
"test:browser": "karma start karma.conf.js",
47-
"unit": "tape test/index.js",
48-
"unit-ci": "npm run unit && prebuild-ci"
47+
"unit": "tape test/index.js"
4948
},
5049
"dependencies": {
5150
"bindings": "^1.2.1",
@@ -55,7 +54,6 @@
5554
"drbg.js": "^1.0.1",
5655
"elliptic": "^6.2.3",
5756
"nan": "^2.2.1",
58-
"prebuild-install": "^2.0.0",
5957
"safe-buffer": "^5.1.0"
6058
},
6159
"devDependencies": {
@@ -70,8 +68,6 @@
7068
"karma-tap": "^3.1.1",
7169
"node-gyp": "^3.3.1",
7270
"nyc": "^11.0.2",
73-
"prebuild": "^6.0.0",
74-
"prebuild-ci": "^2.2.2",
7571
"standard": "*",
7672
"tape": "^4.5.1",
7773
"xorshift.js": "^1.0.3"

0 commit comments

Comments
 (0)