fix build issue on project level
This commit is contained in:
22
ci/script.sh
22
ci/script.sh
@@ -18,16 +18,20 @@ main() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# second (slow) pass: check that examples link
|
# second (slow) pass: check that examples link
|
||||||
for chapter in $(echo src/*); do
|
# for chapter in $(echo src/*); do
|
||||||
if [ ! -f $chapter/Cargo.toml ]; then
|
# if [ ! -f $chapter/Cargo.toml ]; then
|
||||||
continue
|
# continue
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
pushd $chapter
|
# pushd $chapter
|
||||||
cargo build
|
# cargo build
|
||||||
cargo build --release
|
# cargo build --release
|
||||||
popd
|
# popd
|
||||||
done
|
# done
|
||||||
|
|
||||||
|
# second (slow) pass: check that workspace builds
|
||||||
|
cargo build
|
||||||
|
cargo build --release
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $TRAVIS_BRANCH != master ]; then
|
if [ $TRAVIS_BRANCH != master ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user