Skip to content

Commit

Permalink
New NodeJS: 7.10.1, new V8: 5.5.372.43
Browse files Browse the repository at this point in the history
  • Loading branch information
matiwinnetou committed Jul 23, 2017
1 parent 5e11c15 commit ed37be3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: required
services: docker
before_install: curl -O http://download.eclipsesource.com/j2v8/v8/node.out-7_4_0.tar.gz
before_install: curl -o node.out-7_10_1.tar.gz https://nodejs.org/dist/v7.10.1/node-v7.10.1-linux-x64.tar.gz
script: ./buildAll.sh
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ node {
}

stage('Fetching target platform') {
sh 'curl -O http://download.eclipsesource.com/j2v8/v8/node.out-7_4_0.tar.gz'
sh 'curl -o node.out-7_10_1.tar.gz https://nodejs.org/dist/v7.10.1/node-v7.10.1-linux-x64.tar.gz'
}

stage('Building') {
Expand Down
2 changes: 1 addition & 1 deletion build-node.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git clone https://github.com/nodejs/node -b v7.4.0
git clone https://github.com/nodejs/node -b v7.10.1
cd node
./configure --enable-static
make
2 changes: 1 addition & 1 deletion buildAll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ docker rm -f j2v8.android.arm_$DOCKER_CONTAINER_SUFFIX
docker rm -f j2v8.linux.x64_$DOCKER_CONTAINER_SUFFIX
set -e

tar xzf node.out-7_4_0.tar.gz
tar xzf node.out-7_10_1.tar.gz

docker build -t "j2v8-linux-x64" -f docker/Dockerfile.linux $DIR
docker run -e "env.J2V8_PLATFORM_NAME=linux" -e "env.J2V8_ARCH_NAME=x86_64" -e "env.J2V8_FULL_VERSION=4.8.0" -v $ROOTPATH:/build/. -v $ROOTPATH/node.out:/build/node --name j2v8.linux.x64_$DOCKER_CONTAINER_SUFFIX j2v8-linux-x64
Expand Down
4 changes: 2 additions & 2 deletions build_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#-----------------------------------------------------------------------
# Node.js settings
#-----------------------------------------------------------------------
NODE_VERSION_MAJOR, NODE_VERSION_MINOR, NODE_VERSION_PATCH = 7, 4, 0
NODE_VERSION_MAJOR, NODE_VERSION_MINOR, NODE_VERSION_PATCH = 7, 10, 1

#-----------------------------------------------------------------------
# J2V8 settings
#-----------------------------------------------------------------------
J2V8_VERSION_MAJOR, J2V8_VERSION_MINOR, J2V8_VERSION_PATCH = 4, 8, 0
J2V8_VERSION_MAJOR, J2V8_VERSION_MINOR, J2V8_VERSION_PATCH = 4, 9, 0
J2V8_VERSION_SUFFIX = "-SNAPSHOT"

#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions releng/maven/build_and_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ COMMIT_ID=`git rev-parse HEAD`
sed s/Unknown\ revision\ ID/$COMMIT_ID/ ./src/main/java/com/eclipsesource/v8/V8.java > ./src/main/java/com/eclipsesource/v8/V8.java.updated
mv ./src/main/java/com/eclipsesource/v8/V8.java.updated ./src/main/java/com/eclipsesource/v8/V8.java

TARGET_PLATFORM=$PWD/../../../node.out-7_4_0.tar.gz
TARGET_PLATFORM=$PWD/../../../node-v7.10.1-linux-x64.tar.gz
if [ -f $TARGET_PLATFORM ]; then
cp $TARGET_PLATFORM .
else
curl -O http://download.eclipsesource.com/j2v8/v8/node.out-7_4_0.tar.gz
curl -o node.out-7_10_1.tar.gz https://nodejs.org/dist/v7.10.1/node-v7.10.1-linux-x64.tar.gz
fi
./buildAll.sh
./gradlew clean build uploadArchives -x test
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/eclipsesource/v8/NodeJSTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void run() {
public void testGetVersion() {
String result = nodeJS.getNodeVersion();

assertEquals("7.4.0", result);
assertEquals("7.10.1", result);
}

@Test
Expand Down

0 comments on commit ed37be3

Please sign in to comment.