fix build issue on project level

This commit is contained in:
Michael Droogleever
2018-07-22 00:07:36 +02:00
parent 9ec744b942
commit 2fe5a7d5a8

View File

@@ -18,16 +18,20 @@ main() {
done
# second (slow) pass: check that examples link
for chapter in $(echo src/*); do
if [ ! -f $chapter/Cargo.toml ]; then
continue
fi
# for chapter in $(echo src/*); do
# if [ ! -f $chapter/Cargo.toml ]; then
# continue
# fi
pushd $chapter
cargo build
cargo build --release
popd
done
# pushd $chapter
# cargo build
# cargo build --release
# popd
# done
# second (slow) pass: check that workspace builds
cargo build
cargo build --release
}
if [ $TRAVIS_BRANCH != master ]; then