summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 28 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6d207551c..d7874a1fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,21 @@
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
+
+# Run jobs on container-based infrastructure, can be overridden per job
+sudo: false
+
+# Travis whitelists the installable packages, additions can be requested
+# https://github.com/travis-ci/apt-package-whitelist
+addons:
+ apt:
+ packages: &common_packages
+ - gfortran
+ - libatlas-dev
+ - libatlas-base-dev
+ # Speedup builds, particularly when USE_CHROOT=1
+ - eatmydata
+
python:
- 2.6
- 2.7
@@ -11,8 +26,21 @@ matrix:
include:
- python: 3.3
env: USE_CHROOT=1 ARCH=i386 DIST=trusty PYTHON=3.4
+ sudo: true
+ addons:
+ apt:
+ packages:
+ - *common_packages
+ - debootstrap
- python: 3.2
env: USE_DEBUG=1
+ addons:
+ apt:
+ packages:
+ - *common_packages
+ - python3-dbg
+ - python3-dev
+ - python3-nose
- python: 2.7
env: NPY_SEPARATE_COMPILATION=0 PYTHON_OO=1
- python: 3.4
@@ -38,7 +66,6 @@ before_install:
- pip install --upgrade pip setuptools
# Speed up install by not compiling Cython
- pip install --install-option="--no-cython-compile" Cython
- - sudo apt-get install -qq libatlas-dev libatlas-base-dev gfortran
- popd
script: