diff options
-rw-r--r-- | .travis.yml | 3 | ||||
-rwxr-xr-x | bin/test | 7 | ||||
-rw-r--r-- | requirements.txt | 1 |
3 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 38f98e1..2c21347 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,6 @@ python: - "3.6" - "3.7" - "3.8" -install: pip install -r requirements.txt +install: + - pip install -r requirements.txt script: bin/test @@ -1,3 +1,6 @@ -#!/bin/bash -e -pytest --doctest-modules -W error +#!/bin/sh +set -e + +python3 -W error -munittest discover -v -p '*test*.py' +python3 -mdoctest -v screenplain/*.py pycodestyle --ignore=E402,W504 screenplain tests diff --git a/requirements.txt b/requirements.txt index a8e7a71..5f745b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ reportlab -pytest pycodestyle |