diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-17 23:44:01 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-01-17 23:44:01 -0800 |
commit | 1341e29629ec633a8d9db0e1717434ab560aab42 (patch) | |
tree | b70ce24feef8ddb7e009a1521e2ca14868a7a5da /ci | |
parent | 26e3702f3fccdedbb9dd44574678e9217d16959c (diff) | |
download | mill-1341e29629ec633a8d9db0e1717434ab560aab42.tar.gz mill-1341e29629ec633a8d9db0e1717434ab560aab42.tar.bz2 mill-1341e29629ec633a8d9db0e1717434ab560aab42.zip |
Introduce an Ammonite build to our test suite
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/test.sh | 5 | ||||
-rwxr-xr-x | ci/test2.sh | 4 | ||||
-rwxr-xr-x | ci/test3.sh | 2 | ||||
-rwxr-xr-x | ci/test_all.sh | 15 |
4 files changed, 19 insertions, 7 deletions
@@ -6,7 +6,4 @@ set -eux git clean -xdf # First build & run tests using SBT -sbt core/test scalalib/test scalajslib/test -sbt integration/test -sbt bin/test:assembly - +sbt core/test scalalib/test scalajslib/test integration/test bin/test:assembly diff --git a/ci/test2.sh b/ci/test2.sh index 28fa65cd..9d84ecdc 100755 --- a/ci/test2.sh +++ b/ci/test2.sh @@ -5,7 +5,7 @@ set -eux # Starting from scratch... git clean -xdf - sbt bin/test:assembly -# Run tests using + +# Run tests using Mill built using SBT target/bin/mill --all {core,scalalib,scalajslib,integration}.test devAssembly diff --git a/ci/test3.sh b/ci/test3.sh index 0be934c1..ffeb259c 100755 --- a/ci/test3.sh +++ b/ci/test3.sh @@ -5,7 +5,7 @@ set -eux # Starting from scratch... git clean -xdf -# First build & run tests using SBT +# First build using SBT sbt bin/test:assembly # Build Mill using SBT diff --git a/ci/test_all.sh b/ci/test_all.sh new file mode 100755 index 00000000..558f76d6 --- /dev/null +++ b/ci/test_all.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -eux + +# Starting from scratch... +git clean -xdf + +# First build & run tests using SBT +sbt core/test scalalib/test scalajslib/test integration/test bin/test:assembly + +# Run tests using Mill built using SBT +target/bin/mill --all {core,scalalib,scalajslib,integration}.test devAssembly + +# Second build & run tests using Mill +out/devAssembly/dest --all {core,scalalib,scalajslib,integration}.test devAssembly
\ No newline at end of file |