Skip to content
Snippets Groups Projects
Commit bf8534db authored by Toni G's avatar Toni G
Browse files

tweak not to fail upload

parent fcd4b214
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ conda install conda-build conda-verify anaconda-client
conda-build recipe
ls -l $CONDA_HOME/conda-bld/
ls -lR $CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64
ls -l $CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64
# And now upload if desired
......@@ -32,12 +32,18 @@ ls -lR $CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64
# https://gist.github.com/zshaheen/fe76d1507839ed6fbfbccef6b9c13ed9
USER=tonigi
# https://conda.io/docs/user-guide/tasks/use-conda-with-travis-ci.html
# One could play with this, but perhaps best not to spam the channel repository
export VERSION=`date +%Y.%m.%d`
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l testing \
$CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64/plumed*.tar.bz2 --force
# Disabled because it fails
if [[ -v CONDA_UPLOAD_TOKEN ]]; then
USER=tonigi # fix this
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l testing \
$CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64/plumed*.tar.bz2 --force
fi
# https://conda.io/docs/user-guide/tasks/use-conda-with-travis-ci.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment