You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/03/27 16:53:53 UTC

git commit: Cut down the granularity of travis tests.

Repository: spark
Updated Branches:
  refs/heads/master d679843a3 -> 5b2d863e3


Cut down the granularity of travis tests.

This PR amortizes the cost of downloading all the jars and compiling core across more test cases.  In one anecdotal run this change takes the cumulative time down from ~80 minutes to ~40 minutes.

Author: Michael Armbrust <mi...@databricks.com>

Closes #255 from marmbrus/travis and squashes the following commits:

506b22d [Michael Armbrust] Cut down the granularity of travis tests so we can amortize the cost of compilation.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5b2d863e
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5b2d863e
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5b2d863e

Branch: refs/heads/master
Commit: 5b2d863e339b3955eafc0588212bd5231a9163a0
Parents: d679843
Author: Michael Armbrust <mi...@databricks.com>
Authored: Thu Mar 27 08:53:42 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Thu Mar 27 08:53:42 2014 -0700

----------------------------------------------------------------------
 .travis.yml | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5b2d863e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 617da2d..8ebd0d6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,18 +20,13 @@
    - oraclejdk7
  env:
   matrix:
-   - TEST=sql/test
+   - TEST="scalastyle assembly/assembly"
+   - TEST="catalyst/test sql/test streaming/test mllib/test graphx/test bagel/test"
    - TEST=hive/test
-   - TEST=catalyst/test
-   - TEST=streaming/test
-   - TEST=graphx/test
-   - TEST=mllib/test
-   - TEST=graphx/test
-   - TEST=bagel/test
  cache:
    directories:
      - $HOME/.m2
      - $HOME/.ivy2
      - $HOME/.sbt
  script:
-   - "sbt ++$TRAVIS_SCALA_VERSION scalastyle $TEST"
+   - "sbt ++$TRAVIS_SCALA_VERSION $TEST"