Skip to content

Commit 171da22

Browse files
committed
Introduce consistency between makefile and travis
1 parent 2a487b1 commit 171da22

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ install:
88
script:
99
- python -m pylint ./pusher_push_notifications/*.py
1010
- python -m nose -s
11+
- python setup.py checkdocs

Makefile

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# Makefile for pusher_push_notifications
22
all: run
33

4-
rebuild_venv:
5-
rm -rf venv
6-
make venv
7-
84
venv:
9-
test -d venv || python3 -m virtualenv venv
5+
rm -rf venv
6+
python3 -m virtualenv venv
107
venv/bin/pip3 install -Ur requirements.txt
118
venv/bin/pip3 install -Ur dev_requirements.txt
129

13-
run: venv
14-
@echo "Running pusher_push_notifications..."
10+
venv_2:
11+
rm -rf venv
12+
python2.7 -m virtualenv venv
13+
venv/bin/pip install -Ur requirements.txt
14+
venv/bin/pip install -Ur dev_requirements.txt
1515

1616
check: test
1717

1818
test: venv
19-
@venv/bin/python3 -m nose -s
20-
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
19+
@venv/bin/python -m nose -s
2720

2821
lint: venv
29-
@venv/bin/python3 -m pylint ./pusher_push_notifications/*.py
22+
@venv/bin/python -m pylint ./pusher_push_notifications/*.py
23+
@venv/bin/python setup.py checkdocs

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.. image:: https://travis-ci.org/pusher/push-notifications-python.svg?branch=master
2+
:target: https://travis-ci.org/pusher/push-notifications-python
3+
14
Pusher Push Notifications Python server SDK
25
===========================================
36
Full documentation for this SDK can be found `here <https://docs.pusher.com/push-notifications/reference/server-sdk-python>`__

0 commit comments

Comments
 (0)