Replaced apt-get by pyenv install

Travis-CI removed the deadsnakes repository and replaced it by pyenv to
install custom Python versions.