mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
can we edit /etc/hosts in travis-ci?
This commit is contained in:
parent
7b1d2d8c5d
commit
0a16c0ad84
@ -1,5 +1,7 @@
|
|||||||
group: deprecated-2017Q2
|
group: deprecated-2017Q2
|
||||||
|
|
||||||
|
sudo: required
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- 3.6
|
- 3.6
|
||||||
@ -32,9 +34,10 @@ before_install:
|
|||||||
- docker run --detach --network=trough --hostname=rethinkdb --name=rethinkdb --publish=28015:28015 rethinkdb
|
- docker run --detach --network=trough --hostname=rethinkdb --name=rethinkdb --publish=28015:28015 rethinkdb
|
||||||
- docker run --detach --network=trough --hostname=hadoop --name=hadoop chalimartines/cdh5-pseudo-distributed
|
- docker run --detach --network=trough --hostname=hadoop --name=hadoop chalimartines/cdh5-pseudo-distributed
|
||||||
- docker run --detach --network=trough --hostname=trough --volume="$PWD/tests/run-trough.sh:/run-trough.sh" --publish=6111:6111 --publish=6112:6112 --publish=6222:6222 --publish=6444:6444 python:3 bash /run-trough.sh
|
- docker run --detach --network=trough --hostname=trough --volume="$PWD/tests/run-trough.sh:/run-trough.sh" --publish=6111:6111 --publish=6112:6112 --publish=6222:6222 --publish=6444:6444 python:3 bash /run-trough.sh
|
||||||
- echo 127.0.0.1 rethinkdb >> /etc/hosts
|
- echo 127.0.0.1 rethinkdb | sudo tee -a /etc/hosts
|
||||||
- echo 127.0.0.1 hadoop >> /etc/hosts
|
- echo 127.0.0.1 hadoop | sudo tee -a /etc/hosts
|
||||||
- echo 127.0.0.1 trough >> /etc/hosts
|
- echo 127.0.0.1 trough | sudo tee -a /etc/hosts
|
||||||
|
- cat /etc/hosts
|
||||||
- ping -c2 trough
|
- ping -c2 trough
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user