Skip to content

Commit

Permalink
Replace Ubuntu 16.04 with CentOS 7 for prebuilds (#674)
Browse files Browse the repository at this point in the history
* Remove prebuild settings from standard "linux" job
* Add centos7 job with prebuild settings
* Add centos7-devtoolset7 docker image prebuild script

Ref: prebuild/docker-images#8
Ref: #672
  • Loading branch information
rvagg authored and vweevers committed Oct 4, 2019
1 parent 8b81607 commit afc68b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env: [TEST=1]
- os: linux
node_js: node
env: [TEST=1, TEST_ELECTRON=1, BUILD_CMD=prebuild, BUILD_GROUP=linux-x64]
env: [TEST=1, TEST_ELECTRON=1]
addons:
apt:
packages:
Expand All @@ -27,6 +27,11 @@ jobs:
- os: osx
node_js: node
env: [TEST=1, TEST_ELECTRON=1, BUILD_CMD=prebuild, BUILD_GROUP=darwin-x64]
- name: centos7
os: linux
node_js: node
env: [BUILD_CMD=prebuild-centos7, BUILD_GROUP=linux-x64, NPM_CONFIG_IGNORE_SCRIPTS=1]
if: tag is present
- name: arm
os: linux
node_js: node
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"prebuild-linux-arm64": "IMAGE=linux-arm64 ./scripts/cross-compile --tag-armv",
"prebuild-android-armv7": "IMAGE=android-armv7 ./scripts/cross-compile --tag-armv",
"prebuild-android-arm64": "IMAGE=android-arm64 ./scripts/cross-compile --tag-armv",
"prebuild-alpine": "IMAGE=alpine ./scripts/cross-compile --tag-libc"
"prebuild-alpine": "IMAGE=alpine ./scripts/cross-compile --tag-libc",
"prebuild-centos7": "IMAGE=centos7-devtoolset7 ./scripts/cross-compile"
},
"dependencies": {
"abstract-leveldown": "~6.1.1",
Expand Down

0 comments on commit afc68b7

Please sign in to comment.