servant/travis.sh

14 lines
256 B
Bash
Raw Normal View History

2016-04-01 14:47:24 +02:00
#!/usr/bin/env bash
set -o errexit
2016-04-01 14:48:03 +02:00
for package in $(cat sources.txt) doc/tutorial ; do
2016-04-01 14:47:24 +02:00
echo testing $package
pushd $package
tinc
2016-04-18 12:07:23 +02:00
cabal configure --enable-tests --disable-optimization --ghc-options='-Werror'
2016-04-01 14:47:24 +02:00
cabal build
cabal test
popd
done