Skip to content

Commit

Permalink
Split build tasks on travis fixes #1242
Browse files Browse the repository at this point in the history
I believe the frequent scalajs build failure is caused by out of memory, So splitting the tasks helped. This is verified by #1254 which passes two builds consecutively.
  • Loading branch information
kailuowang authored Aug 2, 2016
1 parent 0c5f48c commit 6565ff6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/travis-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@ sbt_cmd="sbt ++$TRAVIS_SCALA_VERSION"

coverage="$sbt_cmd coverage validateJVM coverageReport && codecov"

run_cmd="$coverage && $sbt_cmd validate && $sbt_cmd $publish_cmd"

scala_js="$sbt_cmd macrosJS/compile coreJS/compile lawsJS/compile && $sbt_cmd kernelLawsJS/test && $sbt_cmd testsJS/test && $sbt_cmd js/test"
scala_jvm="$sbt_cmd validateJVM"

run_cmd="$coverage && $scala_js && $scala_jvm $publish_cmd"

eval $run_cmd

0 comments on commit 6565ff6

Please sign in to comment.