Skip to content

Commit 0be7e3e

Browse files
committed
Replace /etc/hosts steps in install_sge.sh with hostname and hosts addons
1 parent babf9d2 commit 0be7e3e

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ python:
88
- 3.6
99
- 3.6-dev
1010

11-
sudo: true
11+
sudo: required
12+
13+
addons:
14+
hostname: drmaa.travis-ci.org
15+
hosts:
16+
- localhost
17+
- localhost.localdomain
18+
- drmaa.travis-ci.org
19+
1220

1321
notifications:
1422
email: false

travis/install_sge.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# Written by Dan Blanchard (dblanchard@ets.org), September 2013
66

77
cd travis
8-
sudo sed -i -r "s/^(127.0.0.1\s)(localhost\.localdomain\slocalhost)/\1localhost localhost.localdomain $(hostname) /" /etc/hosts
98
sudo apt-get update -qq
109
echo "gridengine-master shared/gridenginemaster string localhost" | sudo debconf-set-selections
1110
echo "gridengine-master shared/gridenginecell string default" | sudo debconf-set-selections

0 commit comments

Comments
 (0)