lint in travis
This commit is contained in:
parent
126cbd6534
commit
8a2a4d827f
12
.travis.sh
Executable file
12
.travis.sh
Executable 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
|
@ -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
|
||||
|
@ -4,6 +4,8 @@
|
||||
# should be on the path.
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -d "designer" ]
|
||||
then
|
||||
echo "Please run this from the project root"
|
||||
|
Loading…
Reference in New Issue
Block a user