Skip to content

Commit

Permalink
[#2131] update travis for new worker
Browse files Browse the repository at this point in the history
# Conflicts:
#	.travis.yml
  • Loading branch information
flybyray authored and Alexandre Chatiron committed Aug 29, 2017
1 parent 181b56c commit 25c844c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25c844c

Please sign in to comment.