Loading .travis.yml +3 −2 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ matrix: - MATRIX_EVAL="CXX=clang++ && CC=clang" before_install: - echo "$TRAVIS_PULL_REQUEST" - eval "${MATRIX_EVAL}" - | if [ "$TRAVIS_OS_NAME" == "linux" ]; then Loading Loading @@ -58,8 +59,8 @@ after_success: - builddir=(`conda build recipe --output`) # Label based on the branch and upload to anaconda.org - | if [ "$TRAVIS_BRANCH" == "master" ]; then if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir; elif [ "$TRAVIS_BRANCH" == "dev" ]; then elif [ "$TRAVIS_BRANCH" == "dev" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force; fi Loading
.travis.yml +3 −2 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ matrix: - MATRIX_EVAL="CXX=clang++ && CC=clang" before_install: - echo "$TRAVIS_PULL_REQUEST" - eval "${MATRIX_EVAL}" - | if [ "$TRAVIS_OS_NAME" == "linux" ]; then Loading Loading @@ -58,8 +59,8 @@ after_success: - builddir=(`conda build recipe --output`) # Label based on the branch and upload to anaconda.org - | if [ "$TRAVIS_BRANCH" == "master" ]; then if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir; elif [ "$TRAVIS_BRANCH" == "dev" ]; then elif [ "$TRAVIS_BRANCH" == "dev" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force; fi