diff options
author | Robby <robby@santoslab.org> | 2018-04-07 08:23:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 08:23:42 -0500 |
commit | ccb67db3759a16e95a75920d87281185310ccd81 (patch) | |
tree | b901d0173eaf48489583c9a905914baaaf3486ab /ci/test-mill-bootstrap.sh | |
parent | e628c84be7cf0b7bb00ba2141635d29503203fc4 (diff) | |
download | mill-ccb67db3759a16e95a75920d87281185310ccd81.tar.gz mill-ccb67db3759a16e95a75920d87281185310ccd81.tar.bz2 mill-ccb67db3759a16e95a75920d87281185310ccd81.zip |
Merge April 1 - 4, 2018 changes on master (#283)
* fix build
* Detect sh/batch launcher, dev.assembly, and release filename.
* Updated appveyor cache.
* Added some entries for master in readme.md changelog.
* Updated readme.md changelog.
* fixes #173; use default(compile) configuration for deps as default (#270)
* revert #254 to fix bootstrapping https://github.com/lihaoyi/mill/issues/268
* Updated ci tests.
* Reverted Ammonite caching workaround (a796f0a) now that it's fixed
* Changed ci/test-mill-0.sh to use interactive mode due to intermittent client failures to connect to server in travis
* Added ci/test-mill-bootstrap.sh (ci/test-mill-0.sh with bootstrapping) and use it on oraclejdk9 instead of ci/test-mill-0.sh
* Upgraded mill used for ci to 0.1.7-29-f5097f
* revive #254 and fix #268 (#274)
* Test mill batch (.bat) in AppVeyor
* fix minor typos in docs
* Sync Ammonite in ScalaModule (with build.sc).
Diffstat (limited to 'ci/test-mill-bootstrap.sh')
-rwxr-xr-x | ci/test-mill-bootstrap.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ci/test-mill-bootstrap.sh b/ci/test-mill-bootstrap.sh new file mode 100755 index 00000000..be2b5c3a --- /dev/null +++ b/ci/test-mill-bootstrap.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +set -eux + +# Starting from scratch... +git clean -xdf + +# First build +mill -i all __.publishLocal release +mv out/release/dest/mill ~/mill-1 + +# Clean up +git clean -xdf + +# Differentiate first and second builds +echo "Build 2" > info.txt && git add info.txt && git commit -m "Add info.txt" + +# Second build +~/mill-1 -i all __.publishLocal release +mv out/release/dest/mill ~/mill-2 + +# Clean up +git clean -xdf + +# Use second build to run tests using Mill +~/mill-2 -i all {clientserver,main,scalalib,scalajslib}.test
\ No newline at end of file |