Skip to content

Commit

Permalink
use before_install
Browse files Browse the repository at this point in the history
  • Loading branch information
1ambda committed Jul 11, 2017
1 parent 9ed1e12 commit f961a90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1600x1024x16"
- ./dev/change_scala_version.sh $SCALA_VER
- source ~/.environ
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &

install:
- echo "mvn $BUILD_FLAG $MODULES $PROFILE -B"
Expand All @@ -120,9 +122,7 @@ before_script:
- echo "export SPARK_HOME=`pwd`/spark-$SPARK_VER-bin-hadoop$HADOOP_VER" > conf/zeppelin-env.sh
- echo "export ZEPPELIN_HELIUM_REGISTRY=helium" >> conf/zeppelin-env.sh
- tail conf/zeppelin-env.sh
- export CHROME_BIN=/usr/bin/chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start &
- export CHROME_BIN=chromium-browser
- sleep 3
- echo "MAVEN_OPTS='-Xms1024M -Xmx2048M -XX:MaxPermSize=1024m -XX:-UseGCOverheadLimit -Dorg.slf4j.simpleLogger.defaultLogLevel=info'" > ~/.mavenrc

Expand Down

0 comments on commit f961a90

Please sign in to comment.