Fixed travis and PEP8 code style.
Insert correct expections, removed spaces. Added obspy to travis.