From 2a59977d9c4aa23513d2c38a9fa151f9c11e8dc0 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 25 Feb 2018 22:33:23 -0800 Subject: 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 --- .travis.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to '.travis.yml') 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 -- cgit v1.2.3