File tree Expand file tree Collapse file tree 6 files changed +7
-18
lines changed
Expand file tree Collapse file tree 6 files changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ osx_image: xcode9.3
99install :
1010 - export PREBUILD_SLUG=$TRAVIS_REPO_SLUG
1111 - export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" # node-gfx/node-canvas-prebuilt#76
12+ - >-
13+ source ~/.nvm/nvm.sh
14+ nvm use 10 || { nvm install 10; nvm use 10; }
15+ npm install -g node-gyp
1216 - >- # this should only run on linux
1317 if [ $TRAVIS_OS_NAME = "linux" ]; then
1418
Original file line number Diff line number Diff line change 11version : 0.0.{build}
22image : Visual Studio 2017
33install :
4- - ps : Install-Product node 8 x64
4+ - ps : Install-Product node 10 x64
55 - set PREBUILD_SLUG=%APPVEYOR_REPO_NAME%
66 - npm install -g npm node-gyp
77 - set "PATH=%APPDATA%\npm;%PATH%"
Original file line number Diff line number Diff line change @@ -32,13 +32,11 @@ source ci/$OS/preinstall.sh
3232cp ci/$OS /binding.gyp node-canvas/binding.gyp
3333
3434for ver in $NODEJS_VERSIONS ; do
35- echo " ------------ Building with node $ver ------------"
36-
37- source ci/$OS /node_version.sh $ver ;
35+ echo " ------------ Building for node $ver ------------"
3836
3937 cd node-canvas
4038
41- node-gyp rebuild || {
39+ node-gyp rebuild --target= $ver || {
4240 echo " error building in nodejs version $ver "
4341 exit 1;
4442 }
@@ -56,7 +54,6 @@ for ver in $NODEJS_VERSIONS; do
5654done ;
5755
5856echo " ------------ Releasing with release.js ------------"
59- source ci/$OS /node_version.sh 11
6057node ci/release.js $PREBUILD_VERSION || exit 1;
6158
6259cd ..
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments