Skip to content

Commit

Permalink
Use Node 12 in Travis
Browse files Browse the repository at this point in the history
The dependencies of zeromq.js have already dropped support for Node 10
  • Loading branch information
aminya committed Apr 6, 2021
1 parent 934b677 commit b15cd83
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env: ZMQ_DRAFT=true

- os: linux
node_js: "10.16"
node_js: "12"
env: ZMQ_DRAFT=true INCLUDE_COMPAT_TESTS=true

- os: linux
Expand All @@ -22,33 +22,33 @@ jobs:
- os: osx
osx_image: xcode10
env: ZMQ_DRAFT=true
node_js: "10.16"
node_js: "12"

- os: windows
node_js: "10.16"
node_js: "12"
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288
env: ZMQ_DRAFT=true YARN_GPG=no

- os: windows
node_js: "10.16/x86"
node_js: "12/x86"
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288
env: ZMQ_DRAFT=true YARN_GPG=no

# Test shared libraries on Linux and macOS.
- os: linux
node_js: "10.16"
node_js: "12"
env: ZMQ_SHARED=true
addons: {apt: {packages: libzmq3-dev}}

- os: osx
osx_image: xcode10
node_js: "10.16"
node_js: "12"
env: ZMQ_SHARED=true
addons: {homebrew: {packages: zeromq, update: true}}

# Test older versions of ZMQ.
- os: linux
node_js: "10.16"
node_js: "12"
env: ZMQ_VERSION=4.2.4

# Test recent Node versions.
Expand All @@ -67,15 +67,15 @@ jobs:
# This test ensures the delayed resolution of read/write promises is correct
# by disabling immediate resolution (which happens 99% of the time) entirely.
- os: linux
node_js: "10.16"
node_js: "12"
env: ZMQ_NO_SYNC_RESOLVE=true ZMQ_DRAFT=true INCLUDE_COMPAT_TESTS=true NODE_NO_WARNINGS=1

## PREBUILD STAGE

- stage: prebuild
os: linux
env: ARCHIVE_SUFFIX=-x64
node_js: "10.16"
node_js: "12"
script: script/ci/prebuild.sh

- stage: prebuild
Expand All @@ -86,34 +86,34 @@ jobs:

- stage: prebuild
os: linux
node_js: "10.16"
node_js: "12"
env: ARCH=arm TRIPLE=arm-linux-gnueabihf GCC=8 ARCHIVE_SUFFIX=-armv7
addons: {apt: {packages: [gcc-8-arm-linux-gnueabihf, g++-8-arm-linux-gnueabihf]}}
script: script/ci/prebuild.sh

- stage: prebuild
os: linux
node_js: "10.16"
node_js: "12"
env: ARCH=arm64 TRIPLE=aarch64-linux-gnu GCC=8 ARCHIVE_SUFFIX=-armv8
addons: {apt: {packages: [gcc-8-aarch64-linux-gnu, g++-8-aarch64-linux-gnu]}}
script: script/ci/prebuild.sh

- stage: prebuild
os: osx
osx_image: xcode10
node_js: "10.16"
node_js: "12"
script: script/ci/prebuild.sh

- stage: prebuild
os: windows
node_js: "10.16"
node_js: "12"
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288
env: YARN_GPG=no ARCHIVE_SUFFIX=-x64
script: script/ci/prebuild.sh

- stage: prebuild
os: windows
node_js: "10.16/x86"
node_js: "12/x86"
# https://travis-ci.community/t/build-doesnt-finish-after-completing-tests/288
env: YARN_GPG=no ARCHIVE_SUFFIX=-x86
script: script/ci/prebuild.sh
Expand All @@ -122,7 +122,7 @@ jobs:

- stage: publish
os: linux
node_js: "10.16"
node_js: "12"
env: IGNORE_SCRIPTS=true
script: script/ci/package.sh

Expand Down

0 comments on commit b15cd83

Please sign in to comment.