Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lint in travis
  • Loading branch information
dae committed Mar 4, 2019
1 parent 126cbd6 commit 8a2a4d8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .travis.sh
@@ -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
5 changes: 3 additions & 2 deletions .travis.yml
@@ -1,10 +1,11 @@
dist: xenial
language: python
python:
- "3.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
2 changes: 2 additions & 0 deletions tools/build_ui.sh
Expand Up @@ -4,6 +4,8 @@
# should be on the path.
#

set -e

if [ ! -d "designer" ]
then
echo "Please run this from the project root"
Expand Down

0 comments on commit 8a2a4d8

Please sign in to comment.