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

tentative release protocol for conda: build+upload when on pre-release test- OR tags

parent 6bdab184
No related branches found
No related tags found
No related merge requests found
...@@ -85,11 +85,13 @@ matrix: ...@@ -85,11 +85,13 @@ matrix:
- $HOME/.macports-ci-ccache - $HOME/.macports-ci-ccache
# linux conda package # linux conda package
- os: linux - os: linux
if: branch =~ ^test- OR tag IS present OR type IN(pull_request)
dist: trusty dist: trusty
sudo: required sudo: required
env: PLUMED_CONDA=yes env: PLUMED_CONDA=yes
# osx conda package # osx conda package
- os: osx - os: osx
if: branch =~ ^test- OR tag IS present OR type IN(pull_request)
osx_image: xcode8.3 osx_image: xcode8.3
env: PLUMED_CONDA=yes env: PLUMED_CONDA=yes
# I don't put any mpi variant with macports since it takes too long to compile # I don't put any mpi variant with macports since it takes too long to compile
......
...@@ -40,7 +40,7 @@ export VERSION=`date +%Y.%m.%d` ...@@ -40,7 +40,7 @@ export VERSION=`date +%Y.%m.%d`
# Disabled because it fails # Disabled because it fails
if [[ -n "$CONDA_UPLOAD_TOKEN" ]]; then if [[ -n "$CONDA_UPLOAD_TOKEN" ]]; then
USER=tonigi # fix this USER=plumed # the conda channel
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l testing \ anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l testing \
$CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64/plumed*.tar.bz2 --force $CONDA_HOME/conda-bld/$TRAVIS_OS_NAME-64/plumed*.tar.bz2 --force
fi fi
......
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