Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 2972f96

Browse files
committed
Factor out integration test.
1 parent 288f540 commit 2972f96

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ matrix:
66
- python: 2.7
77
env: TEST_MODE=PEP8
88
- python: 2.7
9+
env: TEST_MODE=INTEGRATION_TESTS
10+
- python: 2.7
11+
- python: 3.6
912
- python: 3.6
13+
env: TEST_MODE=INTEGRATION_TESTS
1014
install:
1115
# code below is taken from http://conda.pydata.org/docs/travis.html
1216
# We do this conditionally because it saves us some downloading if the
@@ -47,6 +51,8 @@ install:
4751
script:
4852
- if [[ "$TEST_MODE" == "PEP8" ]]; then
4953
PYTHONPATH=$PWD:$PYTHONPATH py.test --pep8 -m pep8 -n0;
54+
elif [[ "$TEST_MODE" == "INTEGRATION_TESTS" ]]; then
55+
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/integration_test.py;
5056
else
51-
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --cov-config .coveragerc --cov=keras_preprocessing tests/;
57+
PYTHONPATH=$PWD:$PYTHONPATH py.test tests/ --cov-config .coveragerc --cov=keras_preprocessing tests/ --ignore=tests/integration_test.py;
5258
fi

0 commit comments

Comments
 (0)