diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-04 04:02:45 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-04 04:02:45 -0800 |
commit | 5cb6d2ffa967817d15e1b795e03bd6d0118662a5 (patch) | |
tree | fdb9fc2a6ef158f2d18bc717604c6011fcb50552 | |
parent | 69d474067446668f29e4b04be8c44d879ffaaf04 (diff) | |
download | mill-5cb6d2ffa967817d15e1b795e03bd6d0118662a5.tar.gz mill-5cb6d2ffa967817d15e1b795e03bd6d0118662a5.tar.bz2 mill-5cb6d2ffa967817d15e1b795e03bd6d0118662a5.zip |
add a travis builder that exercises the releaseAssembly
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | ci/test4.sh | 23 |
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 |