From df57115f376928517ed256437ad47a288dacb98a Mon Sep 17 00:00:00 2001 From: Robert Rettig Date: Mon, 3 Jul 2017 14:20:32 +0200 Subject: [PATCH] [#2131] update travis for new worker --- .travis.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7951a6671c..72794f4c19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,19 +2,16 @@ sudo: required dist: trusty language: java jdk: - - oraclejdk8 -#before_install: -# - cat /etc/hosts # optionally check the content *before* -# - sudo hostname "$(hostname | cut -c1-63)" -# - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts -# - sudo mv /tmp/hosts /etc/hosts -# - cat /etc/hosts # optionally check the content *after* + - oraclejdk8 +install: +- sudo apt-get install ant-optional addons: hosts: - myshorthost hostname: myshorthost -script: ant -buildfile ./framework/build.xml test +script: +- ant -buildfile ./framework/build.xml test after_failure: find samples-and-tests -name '*.failed.html' -exec echo {} \; -exec cat {} \;