2019-06-17 02:04:42 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-06-17 02:17:23 -07:00
|
|
|
commit_black() {
|
2019-06-18 11:00:48 -04:00
|
|
|
git add hyperglass/*.py
|
2019-06-17 02:04:42 -07:00
|
|
|
git commit --message "Black Formatting - travis $TRAVIS_BUILD_NUMBER"
|
2019-06-17 02:17:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
commit_pylint() {
|
2019-06-17 02:04:42 -07:00
|
|
|
git add pylint.svg
|
|
|
|
git commit --message "Pylint Badge - travis $TRAVIS_BUILD_NUMBER"
|
|
|
|
}
|
|
|
|
|
2019-06-17 02:17:23 -07:00
|
|
|
setup_git() {
|
|
|
|
git config --global user.email "travis@travis-ci.org"
|
|
|
|
git config --global user.name "Travis CI"
|
|
|
|
}
|
|
|
|
|
2019-06-17 02:04:42 -07:00
|
|
|
setup_git
|
2019-06-17 02:17:23 -07:00
|
|
|
commit_black
|
|
|
|
commit_pylint
|
|
|
|
|
2019-06-18 11:00:48 -04:00
|
|
|
exit 0
|