Fixed travis-ci config for different python versions.