Travis: use "env" feature for env vars 39/head
authorOlle Jonsson <olle.jonsson@gmail.com>
Wed, 12 Dec 2018 17:41:52 +0000 (18:41 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Dec 2018 17:41:52 +0000 (18:41 +0100)
.travis.yml

index c74c716..c925e8d 100644 (file)
@@ -10,10 +10,12 @@ git:
   depth: 10
 scala:
   - 2.11.8
+env:
+  global:
+    - JRUBY_OPTS="-J-Xmx700M"
+    - JAVA_OPTS="-Xmx700m"
 install:
   - source ci-setup.sh
-  - export JRUBY_OPTS="-J-Xmx700M"
-  - export JAVA_OPTS="-Xmx700m"
 script: bundle exec rake ci
 notifications:
   email: