Skip to content

Commit e6d0160

Browse files
committed
node versions now specified in env
1 parent c6493c3 commit e6d0160

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ install:
1515
-e PREBUILD_VERSION="$PREBUILD_VERSION"
1616
-e PREBUILD_AUTH="$PREBUILD_AUTH"
1717
-e PREBUILD_SLUG="$TRAVIS_REPO_SLUG"
18+
-e PREBUILD_NODE_VERSIONS="$PREBUILD_NODE_VERSIONS"
1819
-v $(pwd):/build chearon/canvas-prebuilt:5
19-
bash -c 'cd /build; export NVM_DIR=$HOME/.nvm; . $HOME/.nvm/nvm.sh; . ci/install.sh linux '"\"$PREBUILD_VERSION\" \"$PREBUILD_CANVAS_VERSION\"";
20+
bash -c 'cd /build; export NVM_DIR=$HOME/.nvm; . $HOME/.nvm/nvm.sh; . ci/install.sh linux '"\"$PREBUILD_VERSION\" \"$PREBUILD_CANVAS_VERSION\" \"$PREBUILD_NODE_VERSIONS\"";
2021
2122
else
2223
2324
export PREBUILD_SLUG="$TRAVIS_REPO_SLUG";
2425
25-
bash ci/install.sh osx "$PREBUILD_VERSION" "$PREBUILD_CANVAS_VERSION";
26+
bash ci/install.sh osx "$PREBUILD_VERSION" "$PREBUILD_CANVAS_VERSION" "$PREBUILD_NODE_VERSIONS";
2627
2728
fi

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ install:
88
- set "PYTHON=C:\Python27\python.exe"
99
- node -v
1010
- npm -v
11-
- ps: cmd /c "call ci\win\exec_with_msys.bat ""ci/install.sh"" win ""$env:PREBUILD_VERSION"" ""$env:PREBUILD_CANVAS_VERSION"" 2>&1"
11+
- ps: cmd /c "call ci\win\exec_with_msys.bat ""ci/install.sh"" win ""$env:PREBUILD_VERSION"" ""$env:PREBUILD_CANVAS_VERSION"" ""$env:PREBUILD_NODE_VERSIONS"" 2>&1"
1212
build: off
1313
artifacts:
1414
- path: '*.tar.gz'

ci/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
NODEJS_VERSIONS="11 10 9 8 7 6 5 4";
21
OS=$1;
32
CANVAS_PREBUILT_VERSION=$2;
43
CANVAS_VERSION_TO_BUILD=$3;
4+
NODEJS_VERSIONS=$4
55

66
if [ "$CANVAS_VERSION_TO_BUILD" = "" ]; then
77
echo "Can't do anything since you didn't specify which version we're building!";

0 commit comments

Comments
 (0)