summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-25 22:33:23 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-26 00:00:29 -0800
commit2a59977d9c4aa23513d2c38a9fa151f9c11e8dc0 (patch)
tree6a16d7db4538e73c1fe53f2fda812f2d12e71cf8 /.travis.yml
parent08e27d9b94e38f64f6680828c64ab3c0a8f5537f (diff)
downloadmill-2a59977d9c4aa23513d2c38a9fa151f9c11e8dc0.tar.gz
mill-2a59977d9c4aa23513d2c38a9fa151f9c11e8dc0.tar.bz2
mill-2a59977d9c4aa23513d2c38a9fa151f9c11e8dc0.zip
Delete SBT build, use Mill for CI & development
Also re-organize the test matrix to split out the unit & integration tests into 3 separate builds, and removing the integration tests from the `-dev` and `-mill` jobs. That should speed up the test run while running all tests and ensuring the dev/release assemblies work
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml25
1 files changed, 9 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index 57a75bef..45373358 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,20 +2,19 @@ language: scala
sudo: required
dist: trusty
-scala:
- - 2.12.4
-
jdk:
- oraclejdk8
matrix:
include:
- stage: build
- env: CI_SCRIPT=ci/test-sbt.sh
+ env: CI_SCRIPT=ci/test-mill-0.sh
+ - stage: build
+ env: CI_SCRIPT=ci/test-mill-1.sh
- stage: build
- env: CI_SCRIPT=ci/test-sbt-built.sh
+ env: CI_SCRIPT=ci/test-mill-2.sh
- stage: build
- env: CI_SCRIPT=ci/test-mill-built.sh
+ env: CI_SCRIPT=ci/test-mill-dev.sh
- stage: build
env: CI_SCRIPT=ci/test-mill-release.sh
- stage: release
@@ -24,16 +23,10 @@ matrix:
env: CI_SCRIPT="ci/on-master.py ci/publish-docs.sh"
script:
- - git fetch --unshallow --tags
+ - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.3/0.1.3 && chmod +x ~/bin/mill
+ - export PATH=~/bin/mill:$PATH
- "$CI_SCRIPT"
+
cache:
directories:
- - $HOME/.sbt/0.13/dependency
- - $HOME/.sbt/boot/scala*
- - $HOME/.sbt/launchers
- - $HOME/.ivy2/cache
- - $HOME/.coursier
-
-before_cache:
- - find $HOME/.sbt -name "*.lock" -type f -delete
- - find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete \ No newline at end of file
+ - $HOME/.coursier \ No newline at end of file