From 2af99adf1928f8667bf24fccef22ae2c9186a745 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 17 Jun 2019 00:49:34 -0700 Subject: [PATCH] ci changes to get automatic black & pylint checks --- .travis.yml | 4 ++-- tests/check_code.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13d728a..93651d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ before_install: install: - pip3 install -r requirements.txt after_install: -- bash ./tests/check_code.sh +- git remote add origin git@github.com/checktheroads/hyperglass.git > /dev/null 2>&1 +- sh ./tests/check_code.sh before_script: - python3 ./tests/ci_prepare.py script: @@ -18,5 +19,4 @@ script: - sleep 20 - python3 ./tests/ci_test.py after_success: -- git remote add origin git@github.com/checktheroads/hyperglass.git > /dev/null 2>&1 - git push --quiet --set-upstream origin master diff --git a/tests/check_code.sh b/tests/check_code.sh index 5c13805..4adbd05 100755 --- a/tests/check_code.sh +++ b/tests/check_code.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh setup_git() { git config --global user.email "travis@travis-ci.org"