From 0b629bb057e29e3b1a6df3e7c5d0ac1c8031de1a Mon Sep 17 00:00:00 2001 From: Patrick Boucher Date: Wed, 3 Feb 2016 11:51:19 -0500 Subject: [PATCH 1/4] Integrate Travis builds with Hipchat --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index cd190b41d..92fb405d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,16 @@ language: python python: - - "2.6" - - "2.7" -# command to install dependencies +- '2.6' +- '2.7' install: - - pip install nose +- pip install nose before_script: - - cp ./tests/example_config ./tests/config -# command to run tests +- cp ./tests/example_config ./tests/config script: nosetests -v notifications: email: - api@shotgunsoftware.com + hipchat: + rooms: + secure: E3KqkCZXTRSr91g0d00VSzNshsYZcD7akKeJBd+Yv83LHCnLCeTZImQblV9kPoKv+JVXHyfzIzX4SJ93oqzFq17ilSjPsnpagmOlVzuczuPHIPTBKc/nDslIAdMiCfkOihTQPsCeDQ6NlGvtteP683D2juyK+RkTMa0ptW94HhQ= + format: html From 3bbc5998b374d3f5ba4809154ee48cca4533f566 Mon Sep 17 00:00:00 2001 From: Patrick Boucher Date: Wed, 3 Feb 2016 17:07:39 -0500 Subject: [PATCH 2/4] Update hipchat integration of Travis CI --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 92fb405d0..efc9d3b71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,8 @@ before_script: script: nosetests -v notifications: email: - - api@shotgunsoftware.com + - api@shotgunsoftware.com hipchat: rooms: - secure: E3KqkCZXTRSr91g0d00VSzNshsYZcD7akKeJBd+Yv83LHCnLCeTZImQblV9kPoKv+JVXHyfzIzX4SJ93oqzFq17ilSjPsnpagmOlVzuczuPHIPTBKc/nDslIAdMiCfkOihTQPsCeDQ6NlGvtteP683D2juyK+RkTMa0ptW94HhQ= + secure: Fn5h3NWccsKeXrH/wP/WcfIMco1xCxJsqnEgzSguAIo2DlQX8UprmbyDPoZTOmKF3Tl1HMSZzgLDr2CWQua5IR8IfFum5rfvkckUCeN+PkihL8aJ+1kqXe1GZc0+rRY8iDjAUyX8i+lupnsF0RGmg/eS9QfqblM83VBKskiSsDs= format: html From 46af88ebb26a4f827048e115d920a0cc31e17ce6 Mon Sep 17 00:00:00 2001 From: Patrick Boucher Date: Wed, 3 Feb 2016 19:52:42 -0500 Subject: [PATCH 3/4] Single line travis notification in HC --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index efc9d3b71..58a1fae2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,6 @@ notifications: hipchat: rooms: secure: Fn5h3NWccsKeXrH/wP/WcfIMco1xCxJsqnEgzSguAIo2DlQX8UprmbyDPoZTOmKF3Tl1HMSZzgLDr2CWQua5IR8IfFum5rfvkckUCeN+PkihL8aJ+1kqXe1GZc0+rRY8iDjAUyX8i+lupnsF0RGmg/eS9QfqblM83VBKskiSsDs= + template: + - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (Details/Change view)' format: html From 99c519aed7d349a8283633ba46f812e689794304 Mon Sep 17 00:00:00 2001 From: Patrick Boucher Date: Wed, 3 Feb 2016 22:32:36 -0500 Subject: [PATCH 4/4] Only notify of pull requests and restore human readability. --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 58a1fae2f..4d880787d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,21 @@ language: python python: -- '2.6' -- '2.7' + - "2.6" + - "2.7" +# command to install dependencies install: -- pip install nose + - pip install nose before_script: -- cp ./tests/example_config ./tests/config + - cp ./tests/example_config ./tests/config +# command to run tests script: nosetests -v notifications: email: - - api@shotgunsoftware.com + - api@shotgunsoftware.com hipchat: rooms: secure: Fn5h3NWccsKeXrH/wP/WcfIMco1xCxJsqnEgzSguAIo2DlQX8UprmbyDPoZTOmKF3Tl1HMSZzgLDr2CWQua5IR8IfFum5rfvkckUCeN+PkihL8aJ+1kqXe1GZc0+rRY8iDjAUyX8i+lupnsF0RGmg/eS9QfqblM83VBKskiSsDs= template: - '%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (Details/Change view)' format: html + on_pull_requests: false