Update travis script to release on PyPi
Update travis script.
Improve cancelling.