---
language: scala
script: "sbt 'set scriptedLaunchOpts := Seq(\"-Xms384m\", \"-Xmx384m\", \"-XX:MaxPermSize=64m\")' scripted"
scala:
- 2.9.2
before_script:
 - "echo JAVA_HOME $JAVA_HOME"
 - "echo 'which java' `which java`"
 - "echo JAVA_OPTS $JAVA_OPTS"
 - "export JAVA_OPTS=-Xmx512m"

---
language: scala
script: "sbt 'set scriptedLaunchOpts := Seq(\"-Xms384m\", \"-Xmx384m\", \"-XX:MaxPermSize=128m\")' scripted"
scala:
- 2.9.2
before_script:
 - "echo JAVA_HOME $JAVA_HOME"
 - "echo 'which java' `which java`"
 - "echo JAVA_OPTS $JAVA_OPTS"
 - "export JAVA_OPTS=-Xmx512m"

Adjust PermGen for Travis CI.
Adjust PermGen for Travis CI.
