diff options
author | Robby <robby@k-state.edu> | 2018-04-02 07:36:18 -0500 |
---|---|---|
committer | Robby <robby@k-state.edu> | 2018-04-02 07:36:18 -0500 |
commit | f972d712c76bc19c158ea77084abdcbf520d762e (patch) | |
tree | 5c73f7f3a5a546fa983f30075ee7dd397f44d8fb /ci/test-mill-bootstrap.sh | |
parent | f5097f96503dc60f773f68f97beea9e61822d7ee (diff) | |
download | mill-f972d712c76bc19c158ea77084abdcbf520d762e.tar.gz mill-f972d712c76bc19c158ea77084abdcbf520d762e.tar.bz2 mill-f972d712c76bc19c158ea77084abdcbf520d762e.zip |
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
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 |