Also run flake8 checks.

pull/51/head
Christian T. Jacobs 2016-01-27 16:33:30 +00:00
rodzic c993704e84
commit ad938a3d9a
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -23,6 +23,6 @@ before_script:
- echo $PYTHONPATH
script:
- make unittest
- make test
- make docs
- sudo make clean

Wyświetl plik

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
.PHONY: input clean install docs unittest
.PHONY: input clean install docs test
input: clean install docs
@ -29,7 +29,10 @@ docs:
@echo "*** Building the documentation"
cd docs; make html; cd ..
unittest:
test:
@echo "*** Running flake8"
flake8 pyqso
flake8 bin
@echo "*** Running the unit tests"
python3 -m unittest discover --start-directory=pyqso --pattern=*.py --verbose