You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2016/06/09 04:00:31 UTC
[04/10] accumulo git commit: ACCUMULO-4182 Improve travis-ci
notifications
ACCUMULO-4182 Improve travis-ci notifications
* Limit builds to only the most recent, most reliable jdk available
* Remove unneeded hostname workarounds for older OpenJDKs
* Make IRC notification messages more succinct
* Don't notify on repeated successes
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/60ac92d4
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/60ac92d4
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/60ac92d4
Branch: refs/heads/master
Commit: 60ac92d491ca881b5d93dd27d7dcaa024548e9e7
Parents: 67605d7
Author: Christopher Tubbs <ct...@apache.org>
Authored: Wed Jun 8 23:50:21 2016 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Wed Jun 8 23:57:15 2016 -0400
----------------------------------------------------------------------
.travis.yml | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/60ac92d4/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index ef22669..b4a91d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,27 +13,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
-addons:
- hostname: travis-accumulo-host
notifications:
irc:
channels:
- "chat.freenode.net#accumulo"
use_notice: true
+ on_success: change
+ on_failure: always
+ template:
+ - "%{result} %{repository_slug} %{branch} (%{build_url}): %{message}"
# speed up builds; don't use with install
cache:
directories:
- $HOME/.m2
-# skip pre-fetch of maven dependencies
+# skip pre-fetch of maven dependencies by making install step a NOOP
install: true
jdk:
- oraclejdk8
- - oraclejdk7
- - openjdk7
- - openjdk6
# clear any cache of accumulo artifacts, just in case; use https for central
before_script:
- - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname)/" /etc/hosts | sudo tee /etc/hosts
- rm -rf $HOME/.m2/repository/org/apache/accumulo
- echo "<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'><mirrors><mirror><id>secure-central</id><url>https://repo.maven.apache.org/maven2</url><mirrorOf>central</mirrorOf></mirror></mirrors></settings>" > $HOME/settings-custom.xml
script: mvn --settings $HOME/settings-custom.xml clean verify -DskipITs