Skip to content
Snippets Groups Projects
Commit 58a0783a authored by jay's avatar jay
Browse files

if/else

parent 8a41b01f
No related branches found
No related tags found
No related merge requests found
...@@ -19,12 +19,13 @@ install: ...@@ -19,12 +19,13 @@ install:
- conda config --add channels conda-forge - conda config --add channels conda-forge
# Setup to do the build # Setup to do the build
- conda install -y -q conda-build anaconda-client - conda install -y -q conda-build anaconda-client
- conda config --set anaconda_upload yes
script: script:
# Build and upload on success # Build and upload on success
- if [ "${TRAVIS_PULL_REQUEST}" = "true" ] ; then - if [ "${TRAVIS_PULL_REQUEST}" = "true" ]
conda build recipe -q; then
conda build recipe -q
else else
conda config --set anaconda_upload yes && \ conda build --token $CONDA_UPLOAD_TOKEN recipe -q
conda build --token $CONDA_UPLOAD_TOKEN recipe -q;
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment