From 2fe5a7d5a817f1ed863ef7b4e2618593c172cbbe Mon Sep 17 00:00:00 2001 From: Michael Droogleever Date: Sun, 22 Jul 2018 00:07:36 +0200 Subject: [PATCH] fix build issue on project level --- ci/script.sh | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index aef6a16..d2b0c38 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -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