From de5fb8e022b02bd12cc5f73b01bf606d5f4eda4f Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Thu, 21 Dec 2017 01:25:42 -0600 Subject: [PATCH 1/2] Try to use default python on Trusty, for speed Running `pyenv install` wastes about 3 minutes. * https://docs.travis-ci.com/user/languages/python "for Trusty, this means 2.7.6 and 3.4.3" --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b218c02..271cb49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ # http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448 # to allow C++11, though we are not yet building with -std=c++11 -before_install: pyenv install 3.5.4 && pyenv global 3.5.4 +#before_install: pyenv install 3.5.4 && pyenv global 3.5.4 +# https://docs.travis-ci.com/user/languages/python/ +# "for Trusty, this means 2.7.6 and 3.4.3" install: - if [[ $TRAVIS_OS_NAME == osx ]]; then brew update; From d3ce75c74e8d54a4f0561c38feffa1eb47836179 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Thu, 21 Dec 2017 02:05:52 -0600 Subject: [PATCH 2/2] pyenv global 3.6 We need pip3, and TravisCI build error says: The `pip3` command exists in these Python versions: 3.6, 3.6.3 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 271cb49..33e65c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,7 @@ # to allow C++11, though we are not yet building with -std=c++11 #before_install: pyenv install 3.5.4 && pyenv global 3.5.4 +before_install: pyenv global 3.6 # https://docs.travis-ci.com/user/languages/python/ # "for Trusty, this means 2.7.6 and 3.4.3" install: