Skip to content

Commit 340f51c

Browse files
committed
Fix running flake on travis
1 parent 1113403 commit 340f51c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ before_install:
1010
- tar -xzvf nltk_data-0.11.0.tar.gz -C ~
1111
install:
1212
- pip install numpy
13+
- pip install -r dev-requirements.txt
1314
- pip install -U six
1415
- pip install -U .
1516
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install -r docs/requirements.txt;

run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
def main():
2727
args = get_argv()
28-
retcode = subprocess.call(['flake8', 'textblob'])
28+
retcode = subprocess.call(['flake8', 'textblob'], shell=True)
2929
if retcode:
3030
sys.exit(1)
3131
success = nose.run(argv=args)

0 commit comments

Comments
 (0)