mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
Changed travis test structure; Added lint test
This commit is contained in:
parent
e82fccc9cc
commit
7e5d249eca
|
|
@ -6,6 +6,11 @@ language: python
|
|||
os:
|
||||
- linux
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- TASK=lint
|
||||
- TASK=python-test
|
||||
|
||||
cache:
|
||||
apt: true
|
||||
directories:
|
||||
|
|
|
|||
11
scripts/run_tests.sh
Normal file
11
scripts/run_tests.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ ${TASK} == "lint" ]; then
|
||||
if [ ${TRAVIS_OS_NAME} != "osx" ]; then
|
||||
make lint || exit -1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ${TASK} == "python-test" ]; then
|
||||
nosetests
|
||||
fi
|
||||
Loading…
Reference in New Issue
Block a user