Fix a TODO.
[cabal.git] / travis-stack.sh
blobb3c9aec21500a2241c750edcf6f440ae9ce4abd8
1 #!/bin/sh
3 if [ -z ${STACK_CONFIG+x} ]; then
4 echo "STACK_CONFIG environment variable not set."
5 echo "This build case is not configured correctly."
6 exit 1
7 fi
9 . ./travis-common.sh
11 # ---------------------------------------------------------------------
12 # Build Cabal via Stack(age).
13 # ---------------------------------------------------------------------
15 ~/.local/bin/stack --version
17 ~/.local/bin/stack build \
18 --no-terminal \
19 --stack-yaml "$STACK_CONFIG" \
20 --test \
21 --bench --no-run-benchmarks