lint in travis

This commit is contained in:
Damien Elmes 2019-03-04 17:58:50 +10:00
parent 126cbd6534
commit 8a2a4d827f
3 changed files with 17 additions and 2 deletions

12
.travis.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -e
echo "running unit tests..."
nosetests ./tests
echo "building ui..."
./tools/build_ui.sh
echo "linting..."
./tools/lint.sh

View File

@ -1,3 +1,4 @@
dist: xenial
language: python
python:
- "3.6"
@ -5,6 +6,6 @@ install:
- sudo apt-get update
- sudo apt-get install portaudio19-dev
- pip install -r requirements.txt
- pip install nose
- pip install nose pylint pyqt5 pyqtwebengine
script: nosetests ./tests
script: ./.travis.sh

View File

@ -4,6 +4,8 @@
# should be on the path.
#
set -e
if [ ! -d "designer" ]
then
echo "Please run this from the project root"