Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
uralbash committed Aug 8, 2017
1 parent 5e4dc02 commit 759524d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ install:
- pip install -r requirements-test.txt

script:
- python setup.py nosetests
- ./test.sh
- python setup.py nosetests

after_success:
- pip install coveralls
Expand Down
4 changes: 3 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ NC='\033[0m' # No Color
PROJECT_NAME='sqlalchemy_mptt'

RST_FILES=`find . -name "*.rst" -printf "%p "`
RST_CHECK=$(rstcheck $RST_FILES --report 2 3>&1 1>&2 2>&3 | tee >(cat - >&2)) # fd=STDERR_FILENO
RST_CHECK=$(rstcheck $RST_FILES \
--ignore-directives code-block \
--report 2 3>&1 1>&2 2>&3 | tee >(cat - >&2)) # fd=STDERR_FILENO
FLAKE8=$(flake8 ./$PROJECT_NAME/)

echo -e "${RED}"
Expand Down

0 comments on commit 759524d

Please sign in to comment.