Skip to content

Commit e961575

Browse files
committed
Add .mx_vcs_repo file and travis test for building without vcs
1 parent 05d53b0 commit e961575

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

.mx_vcs_repo

Whitespace-only changes.

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ matrix:
8080
- os: linux
8181
arch: arm64
8282
env: JDK="jdk11" GATE="build,bootstraplite" PRIMARY="compiler"
83+
- os: linux
84+
env: JDK="jdk11" RM_GIT=true
8385
# GR-16977
8486
# - env: JDK="jdk11" GATE="build,test,helloworld" PRIMARY="substratevm"
8587

@@ -135,7 +137,14 @@ install:
135137
script:
136138
- echo ${JAVA_HOME}
137139
- ${JAVA_HOME}/bin/java -version
138-
- mx --primary-suite-path ${TRAVIS_BUILD_DIR}/${PRIMARY} --J @"-Xmx2g" --java-home=${JAVA_HOME} gate --strict-mode --tags ${GATE}
140+
- |
141+
if [[ ${RM_GIT} ]]
142+
then
143+
rm -rf .git
144+
mx --primary-suite-path ${TRAVIS_BUILD_DIR}/substratevm native-image --version
145+
else
146+
mx --primary-suite-path ${TRAVIS_BUILD_DIR}/${PRIMARY} --J @"-Xmx2g" --java-home=${JAVA_HOME} gate --strict-mode --tags ${GATE}
147+
fi
139148
after_failure:
140149
- cat hs_err*
141150
notifications:

compiler/mx.compiler/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
suite = {
2-
"mxversion" : "5.267.0",
2+
"mxversion" : "5.270.0",
33
"name" : "compiler",
44
"sourceinprojectwhitelist" : [],
55

sdk/mx.sdk/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# SOFTWARE.
4040
#
4141
suite = {
42-
"mxversion" : "5.251.0",
42+
"mxversion" : "5.270.0",
4343
"name" : "sdk",
4444
"version" : "20.3.0",
4545
"release" : False,

substratevm/mx.substratevm/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
suite = {
2-
"mxversion": "5.265.3",
2+
"mxversion": "5.270.3",
33
"name": "substratevm",
44
"version" : "20.3.0",
55
"release" : False,

0 commit comments

Comments
 (0)