Do not check changes in /doc, always build

This commit is contained in:
Matthias Beyer 2017-01-25 07:36:13 +01:00
parent ce36b38aa9
commit 64cc8ab5e5
1 changed files with 0 additions and 10 deletions

View File

@ -5,16 +5,6 @@ rust:
- beta
- stable
cache: cargo
before_install:
- |
c=$(git diff $(git merge-base master $TRAVIS_COMMIT)..$TRAVIS_COMMIT --name-only | cut -d "/" -f 1 | uniq)
if [[ "$c" == "doc" ]]; then
echo "Only changes in DOC, exiting 0"
exit 0
else
echo "Changes in other directories than ./doc"
echo "continue build..."
fi
before_script:
- |
pip install 'travis-cargo<0.2' --user &&