diff --git a/.travis.yml b/.travis.yml index b54d9e5fe44..8396829f67f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -144,9 +144,13 @@ matrix: export PATH=$PWD/bin:$PATH; cd - - astyle --version + - git status + - git fetch --all --unshallow --tags + - git fetch origin ${TRAVIS_BRANCH} + - git status script: - >- - git diff --name-only --diff-filter=d HEAD..${TRAVIS_BRANCH} \ + git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \ | ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \ | ( fgrep -v -f .astyleignore || true ) \ | while read file; do astyle -n --options=.astylerc "${file}"; done diff --git a/README.md b/README.md index 59d8fcc7e30..13ae6fee71e 100644 --- a/README.md +++ b/README.md @@ -47,3 +47,4 @@ For more information about Mbed OS, please see [our published documentation](htt To contribute to this documentation, please see the [mbed-os-5-docs repository](https://github.com/ARMmbed/mbed-os-5-docs). +test