Using pytest in Travis

This commit resolves the issue of running tests with the new Travis setup described in https://github.com/python-acoustics/python-acoustics/pull/43

I will merge this PR since all is ok right now.