servant/travis.sh
2016-04-21 13:06:10 +08:00

13 lines
256 B
Bash
Executable file

#!/usr/bin/env bash
set -o errexit
for package in $(cat sources.txt) doc/tutorial ; do
echo testing $package
pushd $package
tinc
cabal configure --enable-tests --disable-optimization --ghc-options='-Werror'
cabal build
cabal test
popd
done