Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
travis: call git fetch --unshallow, so that git describe works
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Nov 30, 2015
1 parent 984658e commit a2b20c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -48,6 +48,7 @@ install:
- sudo /bin/sh -c 'cpanm -n -v X11::XCB || true'
- sudo /bin/sh -c 'cpanm -n -v AnyEvent::I3 || true'
script:
- if [ -a .git/shallow ]; then git fetch --unshallow; fi
- CFLAGS="-Wformat -Wformat-security -Wextra -Wno-unused-parameter -Werror" make -j
- (cd testcases && xvfb-run ./complete-run.pl --parallel=1 || (cat latest/complete-run.log; false))
- clang-format-3.5 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
Expand Down

0 comments on commit a2b20c8

Please sign in to comment.