Skip to content

Commit

Permalink
minor: fix memory problem for regression
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Nov 15, 2017
1 parent 6831002 commit 500d3ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci/travis/checkstyle_regression_no_exception.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ git checkout master
git reset --hard "${MASTER_COMMIT}"
cd ..
mvn clean package -Passembly
java -jar target/regression-tool-1.0-SNAPSHOT-all.jar -r "$CHECKSTYLE_PATH" -p test-branch -t contribution/checkstyle-tester
java -Xms1024m -Xmx2048m -jar target/regression-tool-1.0-SNAPSHOT-all.jar -r "$CHECKSTYLE_PATH" -p test-branch -t contribution/checkstyle-tester
RESULT="$?"
cat config-test-branch-*.xml
rm config-test-branch-*.xml
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ matrix:
- jdk: oraclejdk8
env:
- DESC="checkstyle regression no exception on latest commit"
- CMD="./.ci/travis/checkstyle_regression_no_exception.sh HEAD HEAD^"
- CMD="export MAVEN_OPTS='-Xmx2000m' && export JAVA_OPTS='-Xmx2000m' && ./.ci/travis/checkstyle_regression_no_exception.sh HEAD HEAD^"

# checkstyle regression no exception, changes to check (oraclejdk8)
- jdk: oraclejdk8
env:
- DESC="checkstyle regression no exception, changes to check"
- CMD="./.ci/travis/checkstyle_regression_no_exception.sh f0ed29b d2e0c4c 8.5-SNAPSHOT"
- CMD="export MAVEN_OPTS='-Xmx2000m' && export JAVA_OPTS='-Xmx2000m' && ./.ci/travis/checkstyle_regression_no_exception.sh f0ed29b d2e0c4c 8.5-SNAPSHOT"

script: eval $CMD

Expand Down

0 comments on commit 500d3ae

Please sign in to comment.