forked from mirrors/thatmattlove-hyperglass
restructure CI git operations
This commit is contained in:
parent
adfe1224db
commit
f4c17a3f69
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ setup_git() {
|
|||
|
||||
check_format() {
|
||||
black hyperglass
|
||||
git checkout origin/master
|
||||
git checkout master
|
||||
git add hyperglass/ *.py
|
||||
git commit --message "Black Formatting - travis #$TRAVIS_BUILD_NUMBER"
|
||||
echo "Completed Black Formatting"
|
||||
|
|
@ -16,7 +16,7 @@ check_format() {
|
|||
check_pylint() {
|
||||
PYLINT_SCORE=$(python3 manage.py pylint-badge --integer-only True)
|
||||
echo "Pylint score: $PYLINT_SCORE"
|
||||
git checkout origin/master
|
||||
git checkout master
|
||||
git add pylint.svg
|
||||
git commit --message "Pylint Badge - travis #$TRAVIS_BUILD_NUMBER"
|
||||
echo "Completed Pylint Check & Badge Creation"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue