summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2018-11-21 20:59:36 -0800
committerAmjith Ramanujam <amjith.r@gmail.com>2018-11-21 21:04:53 -0800
commit88913cc462a03064786211e1c915e3ed4a21d966 (patch)
tree0ca7df3ec80fca1ca38048ee7f9aabce2a468d42
parent911c1c8e15120070ebbdce4042d43b746261f0c1 (diff)
Update travis to run lint only in python 3.6
-rw-r--r--.travis.yml3
-rw-r--r--requirements-dev.txt1
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a7233da..5937044 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,13 +7,14 @@ python:
install:
- pip install -r requirements-dev.txt
+ - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install black; fi
- pip install -e .
script:
- ./setup.py test --pytest-args="--cov-report= --cov=litecli"
- coverage combine
- coverage report
- - ./setup.py lint
+ - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then ./setup.py lint; fi
after_success:
- codecov
diff --git a/requirements-dev.txt b/requirements-dev.txt
index 9fb96f9..4aa1e67 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -10,4 +10,3 @@ codecov==2.0.9
autopep8==1.3.3
pep8radius
click==6.7
-black