Skip to content

Commit

Permalink
Merge pull request #1183 from playframework/2131_travisWorkerUpdate
Browse files Browse the repository at this point in the history
[#2131] update travis for new worker
  • Loading branch information
xael-fry committed Aug 30, 2017
2 parents 181b56c + 25c844c commit f96cd10
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 f96cd10

Please sign in to comment.