Skip to content

Commit 0d6121c

Browse files
committed
Use $MYNAME instead of explicit package name.
This should ease applying .travis.yml patches in diffpy projects.
1 parent aa059f2 commit 0d6121c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ branches:
2727

2828

2929
before_install:
30+
- MYNAME=libdiffpy
3031
- umask 022
3132
- git fetch origin --tags
3233
- if ${MYUSEMC}; then
@@ -75,7 +76,7 @@ before_install:
7576

7677
install:
7778
- $NOMC || conda build conda-recipe
78-
- $NOMC || conda list --name=_test --export libdiffpy > /tmp/mypackage.txt
79+
- $NOMC || conda list --name=_test --export ${MYNAME} > /tmp/mypackage.txt
7980
- $NOMC || source activate testenv
8081
- $NOMC || conda install --yes --use-local --file=/tmp/mypackage.txt
8182
- $NOMC || conda install --yes cxxtest scons

0 commit comments

Comments
 (0)