Skip to content

Commit 0bfa087

Browse files
committed
CI: install srfit-sasview for Python 2.7 conda test
1 parent ff53160 commit 0bfa087

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,12 @@ install:
8888
sed 's,.*/,,; s/[.]tar[.]bz2$//; s/-/=/g' > /tmp/mypackage.txt
8989
- $NOMC || source activate testenv
9090
- $NOMC || conda install --yes --use-local --file=/tmp/mypackage.txt
91-
# TODO - add srfit-sasview when ready for Python 3.
9291
- $NOMC || conda install --yes
9392
diffpy.structure pyobjcryst diffpy.srreal
93+
# TODO - always install srfit-sasview when ready for Python 3.
94+
- if $MYUSEMC && [[ "$MYPYTHON_VERSION" == 2.7 ]]; then
95+
conda install --yes srfit-sasview;
96+
fi
9497

9598
- $NOSYS || $MYPIP install $MYPIPFLAGS coverage
9699
- $NOSYS || $MYPIP install $MYPIPFLAGS pycifrw

0 commit comments

Comments
 (0)