summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rwxr-xr-xci/test4.sh23
2 files changed, 25 insertions, 0 deletions
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