Skip to content

Commit

Permalink
Merge pull request #1017 from xael-fry/1014_travisBufferOverflow
Browse files Browse the repository at this point in the history
[#1014] chore(trvais): fix buffer overflow exception
  • Loading branch information
xael-fry authored Oct 20, 2016
2 parents 966cab1 + 3740396 commit dd273f2
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ sudo: required
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
- cat /etc/hosts # optionally check the content *after*
#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*
addons:
hosts:
- myshorthost
hostname: myshorthost
script: ant -buildfile ./framework/build.xml test
after_failure:
cat ./samples-and-tests/just-test-cases/test-result/*.failed.html
Expand Down

0 comments on commit dd273f2

Please # to comment.