diff --git a/tests/ci_git_commit.sh b/tests/ci_git_commit.sh deleted file mode 100755 index 228b522..0000000 --- a/tests/ci_git_commit.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -commit_black() { - git add hyperglass/*.py - git commit --message "Black Formatting - travis $TRAVIS_BUILD_NUMBER" -} - -commit_pylint() { - git add pylint.svg - git commit --message "Pylint Badge - travis $TRAVIS_BUILD_NUMBER" -} - -commit_black -commit_pylint - -exit 0 diff --git a/tests/ci_git_prep.sh b/tests/ci_git_prep.sh deleted file mode 100755 index 3dc6be5..0000000 --- a/tests/ci_git_prep.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -echo "Travis Pull Request: $TRAVIS_PULL_REQUEST" -echo "Travis Branch: $TRAVIS_BRANCH" - -git_setup() { - git config user.email "travis@travis-ci.org" - git config user.name "Travis CI" -} - -detect_branch() { - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then - echo $TRAVIS_BRANCH - else - echo $TRAVIS_PULL_REQUEST_BRANCH - fi -} - -export CURRENT_BRANCH=$(detect_branch) -echo "Detected Branch: $CURRENT_BRANCH" - -echo "Setting git config parameters..." -git_setup -echo "git branches:\n$(git branch -a)" -echo "Initiating git fetch..." -git fetch --depth=1 $GH_TOKEN@github.com:$TRAVIS_PULL_REQUEST_SLUG.git refs/heads/$CURRENT_BRANCH:refs/remotes/origin/$CURRENT_BRANCH > /dev/null 2>&1 -echo "Running git checkout..." -git checkout origin/$CURRENT_BRANCH diff --git a/tests/ci_git_push.sh b/tests/ci_git_push.sh deleted file mode 100644 index 186e4f9..0000000 --- a/tests/ci_git_push.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git push $GH_TOKEN@github.com:$TRAVIS_PULL_REQUEST_SLUG.git origin $CURRENT_BRANCH > /dev/null 2>&1