Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS: 7.6.0, new V8: 5.5.372.43 #315

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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_6_0.tar.gz https://nodejs.org/dist/v7.6.0/node-v7.6.0-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_6_0.tar.gz https://nodejs.org/dist/v7.6.0/node-v7.6.0-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.6.0
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_6_0.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, 6, 0

#-----------------------------------------------------------------------
# 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.out-7_6_0.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_6_0.tar.gz https://nodejs.org/dist/v7.6.0/node-v7.6.0-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.6.0", result);
}

@Test
Expand Down