diff --git a/.travis.yml b/.travis.yml index 74f81d902..093f36c30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -429,16 +429,20 @@ script: # Building the examples - cd ../examples - find . -type d -name build -prune -exec rm -rf {} \; + - cd linobs + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' + - cd .. - cd basics - - find . -name "ex\_*" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../robotics - - find . -name "ex\_*" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../tuto - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../lie_group - - find . -name "ex\_*" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../linobs - - ./build.sh + - cd .. + - cd robotics + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' + - cd .. + - cd tuto + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' + - cd .. + - cd lie_group + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - cd ../../build # Testing @@ -476,16 +480,20 @@ script: # Building the examples - cd ../examples - find . -type d -name build -prune -exec rm -rf {} \; + - cd linobs + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' + - cd .. - cd basics - - find . -name "ex\_*" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../robotics - - find . -name "ex\_*" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../tuto - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../lie_group - - find . -name "ex\_*" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - - cd ../linobs - - ./build.sh + - cd .. + - cd robotics + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' + - cd .. + - cd tuto + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' + - cd .. + - cd lie_group + - find . * -maxdepth 0 | grep -P "^[0-9]" | xargs -L 1 bash -c 'cd "$0" && ./build.sh && cd ..' - cd ../../build # Testing