Browse Source

travis: use ubuntu trusty beta infrastructure (not: precise)

use python 3.5.2 on trusty travis-ci machines
their 3.5(.0) misses lzma support at the moment.
after this is fixed, we likely want to go back to 3.5(.0) to run the tests.
Thomas Waldmann 9 years ago
parent
commit
735d058a8d
2 changed files with 7 additions and 4 deletions
  1. 7 2
      .travis.yml
  2. 0 2
      .travis/install.sh

+ 7 - 2
.travis.yml

@@ -6,19 +6,24 @@ cache:
     directories:
         - $HOME/.cache/pip
 
+# note: use py 3.5.2, it has lzma support. 3.5(.0) on travis.org/trusty does not.
 matrix:
     include:
         - python: 3.4
           os: linux
+          dist: trusty
           env: TOXENV=py34
-        - python: 3.5
+        - python: 3.5.2
           os: linux
+          dist: trusty
           env: TOXENV=py35
         - python: nightly
           os: linux
+          dist: trusty
           env: TOXENV=py36
-        - python: 3.5
+        - python: 3.4
           os: linux
+          dist: trusty
           env: TOXENV=flake8
         - language: generic
           os: osx

+ 0 - 2
.travis/install.sh

@@ -32,8 +32,6 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
     python -m pip install --user 'virtualenv<14.0'
 else
     pip install 'virtualenv<14.0'
-    sudo add-apt-repository -y ppa:gezakovacs/lz4
-    sudo apt-get update
     sudo apt-get install -y liblz4-dev
     sudo apt-get install -y libacl1-dev
 fi