From 5cb6d2ffa967817d15e1b795e03bd6d0118662a5 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 4 Feb 2018 04:02:45 -0800 Subject: add a travis builder that exercises the releaseAssembly --- .travis.yml | 2 ++ ci/test4.sh | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100755 ci/test4.sh diff --git a/.travis.yml b/.travis.yml index 6884b327..bc67a572 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ matrix: env: CI_SCRIPT=ci/test2.sh - stage: build env: CI_SCRIPT=ci/test3.sh + - stage: build + env: CI_SCRIPT=ci/test4.sh - stage: release env: CI_SCRIPT=ci/release.sh diff --git a/ci/test4.sh b/ci/test4.sh new file mode 100755 index 00000000..137cec0e --- /dev/null +++ b/ci/test4.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +set -eux + +# Starting from scratch... +git clean -xdf + +# First build using SBT +sbt bin/test:assembly + +# Build Mill using SBT +target/bin/mill --all _.publishLocal releaseAssembly + +mv releaseAssembly ~/mill + +git clean -xdf + +# Second build & run tests using Mill + +~/mill --all {core,scalalib,scalajslib}.test devAssembly +~/mill integration.test mill.integration.AmmoniteTests +~/mill integration.test "mill.integration.{AcyclicTests,BetterFilesTests,JawnTests}" +~/mill devAssembly -- cgit v1.2.3