indicate explicitly name req for main-is module
[cabal.git] / travis-stack.sh
blobd732b001d57834ee52f051f3490e5d2a7d82f945
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 stack build \
16 --no-terminal \
17 --stack-yaml "$STACK_CONFIG" \
18 --test \
19 --bench --no-run-benchmarks