Skip to content

Commit 7f9b670

Browse files
committed
actually the the tests
1 parent ed75341 commit 7f9b670

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ before_install:
4646
- source activate TEST
4747

4848
# Test source distribution.
49-
+install:
49+
install:
5050
- python setup.py sdist && version=$(python setup.py --version) && pushd dist && pip install odm2api-${version}.tar.gz && popd
5151

5252
script:
53-
- py.test
53+
- if [[ $TEST_TARGET == 'default' ]]; then
54+
py.test -vv ;
55+
fi
56+
57+
- if [[ $TEST_TARGET == 'coding_standards' ]]; then
58+
find . -type f -name "*.py" ! -name 'conf.py' | xargs flake8 --max-line-length=100 ;
59+
fi

0 commit comments

Comments
 (0)