summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-04 04:02:45 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-04 04:02:45 -0800
commit5cb6d2ffa967817d15e1b795e03bd6d0118662a5 (patch)
treefdb9fc2a6ef158f2d18bc717604c6011fcb50552 /ci
parent69d474067446668f29e4b04be8c44d879ffaaf04 (diff)
downloadmill-5cb6d2ffa967817d15e1b795e03bd6d0118662a5.tar.gz
mill-5cb6d2ffa967817d15e1b795e03bd6d0118662a5.tar.bz2
mill-5cb6d2ffa967817d15e1b795e03bd6d0118662a5.zip
add a travis builder that exercises the releaseAssembly
Diffstat (limited to 'ci')
-rwxr-xr-xci/test4.sh23
1 files changed, 23 insertions, 0 deletions
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