Skip to content

Commit 49d0047

Browse files
committed
Add make target for testing python2.7
1 parent 2eae47d commit 49d0047

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ check: test
1818
test: venv
1919
@venv/bin/python3 -m nose -s
2020

21+
test_python2: venv
22+
@rm -rf venv
23+
@python2.7 -m virtualenv venv
24+
@venv/bin/pip install -Ur requirements.txt
25+
@venv/bin/pip install -Ur dev_requirements.txt
26+
@venv/bin/python2.7 -m nose -s
27+
2128
lint: venv
2229
@venv/bin/python3 -m pylint ./pusher_push_notifications/*.py
2330

0 commit comments

Comments
 (0)