Skip to content

Commit b85634b

Browse files
author
Matt Bernier
authored
Merge pull request #366 from sendgrid/mbernier-patch-1
Quick and dirty changes to wait for prism
2 parents 6b64358 + dd5ef8c commit b85634b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@ matrix:
1212
jdk: oraclejdk8
1313
before_script:
1414
- "./scripts/startPrism.sh &"
15-
- sleep 10
15+
- sleep 20
1616
before_install:
17-
- cat /etc/hosts # optionally check the content *before*
18-
- sudo hostname "$(hostname | cut -c1-63)"
19-
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts | sudo tee /etc/hosts
20-
- cat /etc/hosts # optionally check the content *after*
17+
- cat /etc/hosts # optionally check the content *before*
18+
- sudo hostname "$(hostname | cut -c1-63)"
19+
- sed -e "s/^\\(127\\.0\\.0\\.1.*\\)/\\1 $(hostname | cut -c1-63)/" /etc/hosts > /tmp/hosts
20+
- sudo mv /tmp/hosts /etc/hosts
21+
- cat /etc/hosts # optionally check the content *after*
2122
after_script:
22-
- lsof -i :4010 -S # adds some debugging statements
23-
- "./gradlew build"
24-
- "./scripts/upload.sh"
23+
- lsof -i :4010 -S # adds some debugging statements
24+
- "./gradlew build"
25+
- "./scripts/upload.sh"
2526
env:
2627
global:
2728
- S3_POLICY: ewogICJleHBpcmF0aW9uIjogIjIxMDAtMDEtMDFUMTI6MDA6MDAuMDAwWiIsCiAgImNvbmRpdGlvbnMiOiBbCiAgICB7ImFjbCI6ICJwdWJsaWMtcmVhZCIgfSwKICAgIHsiYnVja2V0IjogInNlbmRncmlkLW9wZW4tc291cmNlIiB9LAogICAgWyJzdGFydHMtd2l0aCIsICIka2V5IiwgInNlbmRncmlkLWphdmEvIl0sCiAgICBbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwgMjA0OCwgMjY4NDM1NDU2XSwKICAgIFsiZXEiLCAiJENvbnRlbnQtVHlwZSIsICJhcHBsaWNhdGlvbi96aXAiXQogIF0KfQo=

0 commit comments

Comments
 (0)