Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02124d7

Browse files
committed
FIX travis check if exist before installing
1 parent 3949e64 commit 02124d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ before_install:
9494
- if [ -n "$PRE_DEPENDS" ]; then
9595
pip install $EXTRA_PIP_FLAGS $PRE_DEPENDS;
9696
fi
97-
- pip install $EXTRA_PIP_FLAGS $DEPENDS
97+
- if [ -n "$DEPENDS" ]; then
98+
pip install $EXTRA_PIP_FLAGS $DEPENDS;
99+
fi
98100
- if [ "${COVERAGE}" == "1" ]; then
99101
pip install coverage;
100102
pip install coveralls codecov;

0 commit comments

Comments
 (0)