Skip to content

Commit

Permalink
tell JVM to use less memory when testing (googleapis#3650)
Browse files Browse the repository at this point in the history
* don't install when testing

We already installed in build step.
  • Loading branch information
pongad authored Sep 6, 2018
1 parent a9860b3 commit d235a82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ anchor_build: &anchor_build

anchor_unittest: &anchor_unittest
name: Run unit tests
command: mvn -B -DtrimStackTrace=false -fae --quiet -DskipITs install -P release
command: mvn -B -DtrimStackTrace=false -fae --quiet -DskipITs test -P release

anchor_docker: &anchor_docker
docker:
- image: circleci/openjdk:8-jdk
environment:
TERM: dumb
MAVEN_OPTS: -Xmx256m

anchor_auth_vars: &anchor_auth_vars
environment:
Expand All @@ -32,7 +33,7 @@ jobs:
- image: maven:3.5.2-jdk-7
environment:
TERM: dumb
MAVEN_OPTS: -Xmx1024m
MAVEN_OPTS: -Xmx512m
steps:
- checkout
- run:
Expand Down

0 comments on commit d235a82

Please sign in to comment.