summaryrefslogtreecommitdiff
path: root/ci/test4.sh
blob: fb3483e820ecedc0f361c3a003f4443251453d0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env bash

set -eux

# Force travis to create a git HEAD otherwise common operations don't work
git checkout -B current

# 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 out/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