Skip to content

Commit

Permalink
Fixing linux and mac upload to conda
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomov authored Nov 2, 2018
1 parent 0d6a21a commit b6835f4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions ci/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,17 @@ else
conda install -c conda-forge anaconda-client

echo "Uploading ${CONDA_BUILD_PATH}"

anaconda -t $CONDA_UPLOAD_TOKEN upload -u threeml /Users/travis/miniconda/conda-bld/*/*.tar.bz2 --force

/opt/conda/conda-bld/linux-64/

if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then

anaconda -t $CONDA_UPLOAD_TOKEN upload -u threeml /opt/conda/conda-bld/linux-64/*.tar.bz2 --force

else

anaconda -t $CONDA_UPLOAD_TOKEN upload -u threeml /Users/travis/miniconda/conda-bld/*/*.tar.bz2 --force

fi
fi
fi
fi

0 comments on commit b6835f4

Please sign in to comment.