-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash | ||
# Codeship Test Console Setting | ||
# ============================================================================== | ||
# doxygen --version | ||
# python --version | ||
# export GH_PAGES_BRANCH=0 | ||
# if echo "$CI_BRANCH" | grep -q "gh-pages"; then export GH_PAGES_BRANCH=1; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then make -C test/cpplint; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then make -C test check_incg; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then ! find projects -type f -print0 | xargs -0 grep '[d-zD-Z]:\\.*'; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then make -C test/docs version-test; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then make -C test/docs doxygen-test; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then sh .ci/check-crlf.sh; fi | ||
# if [ $GH_PAGES_BRANCH == 0 ]; then make editorconfig-self-lint; fi | ||
# if git grep --cached -I -l -P '\r'; then exit 1; fi | ||
# ============================================================================== | ||
|
||
doxygen --version | ||
python --version | ||
export GH_PAGES_BRANCH=0 | ||
if echo "$CI_BRANCH" | grep -q "gh-pages"; then | ||
export GH_PAGES_BRANCH=1; | ||
fi | ||
if [ "$GH_PAGES_BRANCH" = 0 ]; then | ||
echo | ||
make -C test/cpplint | ||
make -C test check_incg | ||
! find projects -type f -print0 | xargs -0 grep '[d-zD-Z]:\\' | ||
make -C test/docs version-test | ||
make -C test/docs doxygen-test | ||
sh .ci/check-crlf.sh | ||
make editorconfig-self-lint | ||
fi | ||
if git grep --cached -I -l -P '\r'; then | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# iutest using codeship basic | ||
# this file is codeship settings sample | ||
- type: parallel | ||
exclude: gh-pages | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters