Commit 4be02869 authored by jay's avatar jay
Browse files

Still trying to get the builds working.

parent 87fafe46
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -58,8 +58,8 @@ after_success:
  - builddir=(`conda build recipe --output`)
  # Label based on the branch and upload to anaconda.org
  - |
    if [ "$TRAVIS_BRANCH" == "master" ]; then
      anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label main;
    else
      anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev;
    if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" != "false"]; then
      anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label main --force;
    elif [ "$TRAVIS_BRANCH" == "dev" ] && [ "$TRAVIS_PULL_REQUEST" != "false"]; then
      anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force;
    fi
 No newline at end of file