ci changes to get automatic black & pylint checks

This commit is contained in:
checktheroads 2019-06-17 00:49:34 -07:00
parent 3904d8b194
commit 2af99adf19
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
setup_git() {
git config --global user.email "travis@travis-ci.org"