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 --- ci/test4.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 ci/test4.sh (limited to 'ci') 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