Skip to content

Commit

Permalink
CI: Install only required bears
Browse files Browse the repository at this point in the history
requirements.txt: Use cib to install bears
Makefile: Change test-install script

Fixes NITDgpOS#308
  • Loading branch information
nkprince007 authored and abh3po committed Dec 31, 2016
1 parent be303fe commit 6387020
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PYTHON = python3
PIP = pip3
SETUP_FILE = setup.py
COAFILE = .coafile
MODULE_NAME = UIP
TEST_REQUIREMENTS = test-requirements.txt

Expand All @@ -27,10 +28,10 @@ uninstall: clean-pyc

test-install: clean
$(PIP) install --requirement $(TEST_REQUIREMENTS)
cib install -c $(COAFILE)

test:
test:
pytest


lint:
coala --non-interactive
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==3.0.5
coala==0.9.0
coala-bears==0.9.1
cib==0.5.6
pytest-cov==2.4.0

0 comments on commit 6387020

Please sign in to comment.