Skip to content

Commit 5af28d3

Browse files
committed
Use diffpy channel within conda build on travis.
1 parent dc53c30 commit 5af28d3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ before_install:
5454
- $NOMC || popd
5555
- $NOMC || export PATH="${HOME}/mc/bin:${PATH}"
5656
- $NOMC || conda update --yes conda
57-
- $NOMC || conda install --yes python=${MYPYTHON_VERSION} conda-build jinja2
57+
- $NOMC || conda install --yes conda-build jinja2
5858
- $NOMC || conda create --name=testenv --yes python=${MYPYTHON_VERSION} coverage
59-
- $NOMC || conda config --add channels pavoljuhas/channel/dev
60-
- $NOMC || conda config --add channels pavoljuhas
59+
- $NOMC || conda config --add channels diffpy
6160

6261
- $NOAPT || test "${TRAVIS_OS_NAME}" = "linux" || exit $?
6362
- $NOAPT || sudo apt-get update -qq
@@ -71,9 +70,8 @@ before_install:
7170
- $NOAPT || git clone https://github.com/diffpy/libObjCryst.git
7271
- $NOAPT || popd
7372

74-
7573
install:
76-
- $NOMC || conda build conda-recipe
74+
- $NOMC || CONDA_PY=${MYPYTHON_VERSION} conda build conda-recipe
7775
- $NOMC || conda list --name=_test --export pyobjcryst > /tmp/mypackage.txt
7876
- $NOMC || source activate testenv
7977
- $NOMC || conda install --yes --use-local --file=/tmp/mypackage.txt

0 commit comments

Comments
 (0)