hostname from socket

This commit is contained in:
paulmueller 2015-05-12 14:07:48 +02:00
parent da2378905a
commit e7312b3969
2 changed files with 2 additions and 8 deletions

View file

@ -3,12 +3,6 @@ notifications:
email: false
python:
- "3.4"
services:
- mysql
- rabbitmq
- mongodb
- memcached
- redis-server
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
@ -24,6 +18,5 @@ install:
- pip freeze
script:
- netstat -tulpen
- lsof -i :42525
- travis_wait python setup.py test

View file

@ -9,6 +9,7 @@ import signal
import multiprocessing as mp
import numpy as np
import traceback
import socket
import subprocess
import signal
@ -20,7 +21,7 @@ from jobmanager import jobmanager, progress
AUTHKEY = 'testing'
PORT = 42525
SERVER = "0.0.0.0"
SERVER = socket.gethostname()
def test_Signal_to_SIG_IGN():