travis: remove web.py, change print statements into function calls