diff --git a/.travis.yml b/.travis.yml index 6e6a9e208b..d963a6e586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,17 +3,14 @@ dist: trusty language: java jdk: - openjdk7 -#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* +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: cat ./samples-and-tests/just-test-cases/test-result/*.failed.html cat ./samples-and-tests/forum/test-result/*.failed.html