From 5fd7f81848fe82a2286b2580c6574e82bbebc761 Mon Sep 17 00:00:00 2001 From: Ashley Camba Garrido Date: Wed, 14 Feb 2018 07:30:38 +0100 Subject: [PATCH 1/2] Add tag and remove releases from deploy pipeline --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1e2bcbd11..2635ffbed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ branches: only: - master - /^(?i:feature)-.*$/ - - /^(?i:releases)\/.*$/ jobs: fast_finish: true # allow_failures: @@ -128,7 +127,7 @@ jobs: - stage: deploy script: ./setup.py sdist --formats=gztar bdist_wheel - if: branch = master + if: tag IS present python: 2.7 deploy: provider: s3 From eda5bc673305ac16b974661f86ab524049a99d34 Mon Sep 17 00:00:00 2001 From: Jan Michael Auer Date: Wed, 14 Feb 2018 10:03:54 +0100 Subject: [PATCH 2/2] build: Switch to Zeus and build every master commit --- .travis.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2635ffbed..5bab4d963 100644 --- a/.travis.yml +++ b/.travis.yml @@ -127,18 +127,11 @@ jobs: - stage: deploy script: ./setup.py sdist --formats=gztar bdist_wheel - if: tag IS present + if: branch = master python: 2.7 - deploy: - provider: s3 - access_key_id: AKIAJKYWAF3QS7SFL75Q - secret_access_key: - secure: HFlh3wzzYIbkIYRt+Qu60ak0U1+RFagr3nI+EqX/9KJH0zwLg/Xv1Gfx4vZZ+0VZkeJIbZZC5l4HxUzFwkROepxPh0Foifqm7hRKL4HUBdvIONcW+h3Ilanvyj/0tIyRdFPK5pZ22qc+1nsARy0eYEtz/YQeEhiEohvNxbhOuUQ= - skip_cleanup: true - acl: public_read - bucket: getsentry-builds - upload-dir: $TRAVIS_REPO_SLUG/$TRAVIS_COMMIT - local_dir: dist + after_success: + - npm install -g @zeus-ci/cli + - zeus upload -t "application/zip+wheel" dist/* script: tox install: @@ -149,4 +142,12 @@ before_script: after_success: - codecov -e DJANGO - +notifications: + webhooks: + urls: + - https://zeus.ci/hooks/0b589ca4-1165-11e8-b03b-0a580a28023f/public/provider/travis/webhook + on_success: always + on_failure: always + on_start: always + on_cancel: always + on_error: always