Skip to content

Commit df57115

Browse files
committed
[#2131] update travis for new worker
1 parent 5e564b5 commit df57115

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.travis.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@ sudo: required
22
dist: trusty
33
language: java
44
jdk:
5-
- oraclejdk8
6-
#before_install:
7-
# - cat /etc/hosts # optionally check the content *before*
8-
# - sudo hostname "$(hostname | cut -c1-63)"
9-
# - sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
10-
# - sudo mv /tmp/hosts /etc/hosts
11-
# - cat /etc/hosts # optionally check the content *after*
5+
- oraclejdk8
6+
install:
7+
- sudo apt-get install ant-optional
128
addons:
139
hosts:
1410
- myshorthost
1511
hostname: myshorthost
1612

17-
script: ant -buildfile ./framework/build.xml test
13+
script:
14+
- ant -buildfile ./framework/build.xml test
1815

1916
after_failure:
2017
find samples-and-tests -name '*.failed.html' -exec echo {} \; -exec cat {} \;

0 commit comments

Comments
 (0)