Skip to content

Commit 408faf5

Browse files
committed
move anaconda upload to script
1 parent 68d36a5 commit 408faf5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,4 @@ script:
132132

133133
after_success:
134134
# Upload libraries to the shared staging area on anaconda.org
135-
# Note that the anaconda-client package on PyPI is too old. Install from github
136-
# tag instead:
137-
- python -c "import sys; print(sys.version)"
138-
- pip install -q git+https://github.com/Anaconda-Platform/[email protected]
139-
- upload_to_anaconda
135+
- source tools/upload_to_anaconda_posix.sh

tools/upload_to_anaconda_posix.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
# Note that the anaconda-client package on PyPI is too old. Install from github
5+
# tag instead:
6+
echo $(python -c "import sys; print(sys.version)")
7+
pip install -q git+https://github.com/Anaconda-Platform/[email protected]
8+
upload_to_anaconda
9+

0 commit comments

Comments
 (0)