From ad6eead4f116e2a26abdc60e6182c98c65f55d17 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Thu, 25 Oct 2018 15:28:52 -0400 Subject: [PATCH] Make travis use a modern python --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 29dc73f07f..bd61769385 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,9 @@ env: - PDNS_BUILD_PRODUCT=dnsdist - PDNS_BUILD_PRODUCT=ixfrdist +cache: + - pip + before_script: - git describe --always --dirty=+ - sudo rm -f /etc/apt/sources.list.d/*.list @@ -21,6 +24,10 @@ before_script: - export CXXFLAGS=-O0 - export OPTFLAGS=-O0 - sudo apt-get -qq update + # you can remove this when updating dist to something newer than trusty + - pyenv global 2.7 + # needed for virtualenv to use the pyenv python + - pip install virtualenv script: - ./build-scripts/travis.sh -- 2.47.2