From: Doug Freed Date: Thu, 25 Oct 2018 19:28:52 +0000 (-0400) Subject: Make travis use a modern python X-Git-Tag: dnsdist-1.3.3~11^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7106%2Fhead;p=thirdparty%2Fpdns.git Make travis use a modern python --- 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