1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

24 lines
428 B
Bash
Raw Normal View History

2019-06-17 02:04:42 -07:00
#!/bin/sh
commit_black() {
2019-06-17 02:04:42 -07:00
git add hyperglass/ *.py
git commit --message "Black Formatting - travis $TRAVIS_BUILD_NUMBER"
}
commit_pylint() {
2019-06-17 02:04:42 -07:00
git add pylint.svg
git commit --message "Pylint Badge - travis $TRAVIS_BUILD_NUMBER"
}
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
commit_black
commit_pylint
if [ $? -ne 0 ]; then
exit 0