From 4049a3bcd9563ec02b7c4c0c2dd56368be3b9563 Mon Sep 17 00:00:00 2001 From: Charles Doutriaux Date: Wed, 23 May 2018 07:13:42 -0700 Subject: [PATCH 1/3] remove env section, using travis web to set env variables --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 39934fdd..a01fb250 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,10 +45,6 @@ after_failure: - ls -lR - cat ~/build.sh -env: - global: - secure: V5q+wzxrJ5Rmk1vVYXimIdHgWUwZSHINd5W+oi3mTmfbtVyrngau9XQVZyiPyg8S309vHAbys9uMaplp83to7OY1Cw3+w002oMWkCaLwlVMn4UWs+xU7lJGn/wwLwN1OikZnTtiXF8RqrtBZpYsbAxjdebqZ8uZx/zDJXHVvvZY= - after_success: - if [ $TRAVIS_BRANCH == "master" -a "$TRAVIS_OS_NAME" = "osx" ]; then bash scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi - if [ $TRAVIS_BRANCH == "master" -a "$TRAVIS_OS_NAME" = "linux" ]; then docker run -v `pwd`:/travis_home -e CONDA_UPLOAD_TOKEN=${CONDA_UPLOAD_TOKEN} -a STDOUT -a STDERR centos:6.8 /travis_home/scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi From 885d56291b24fdc4880e6191d99c0888744ddafd Mon Sep 17 00:00:00 2001 From: Charles Doutriaux Date: Wed, 23 May 2018 08:49:00 -0700 Subject: [PATCH 2/3] ok should only upload linux --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a01fb250..e73aaa26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,4 +47,4 @@ after_failure: after_success: - if [ $TRAVIS_BRANCH == "master" -a "$TRAVIS_OS_NAME" = "osx" ]; then bash scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi - - if [ $TRAVIS_BRANCH == "master" -a "$TRAVIS_OS_NAME" = "linux" ]; then docker run -v `pwd`:/travis_home -e CONDA_UPLOAD_TOKEN=${CONDA_UPLOAD_TOKEN} -a STDOUT -a STDERR centos:6.8 /travis_home/scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi + - if [ $TRAVIS_BRANCH == "fix_travis_upload" -a "$TRAVIS_OS_NAME" = "linux" ]; then docker run -v `pwd`:/travis_home -e CONDA_UPLOAD_TOKEN=${CONDA_UPLOAD_TOKEN} -a STDOUT -a STDERR centos:6.8 /travis_home/scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi From 1a8c7ad7298d2ca8badab7852b7ad2573e613151 Mon Sep 17 00:00:00 2001 From: Charles Doutriaux Date: Wed, 23 May 2018 10:12:18 -0700 Subject: [PATCH 3/3] putting back master --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e73aaa26..a01fb250 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,4 +47,4 @@ after_failure: after_success: - if [ $TRAVIS_BRANCH == "master" -a "$TRAVIS_OS_NAME" = "osx" ]; then bash scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi - - if [ $TRAVIS_BRANCH == "fix_travis_upload" -a "$TRAVIS_OS_NAME" = "linux" ]; then docker run -v `pwd`:/travis_home -e CONDA_UPLOAD_TOKEN=${CONDA_UPLOAD_TOKEN} -a STDOUT -a STDERR centos:6.8 /travis_home/scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi + - if [ $TRAVIS_BRANCH == "master" -a "$TRAVIS_OS_NAME" = "linux" ]; then docker run -v `pwd`:/travis_home -e CONDA_UPLOAD_TOKEN=${CONDA_UPLOAD_TOKEN} -a STDOUT -a STDERR centos:6.8 /travis_home/scripts/conda_upload.sh ${TRAVIS_BRANCH} ; fi