Skip to content
Next Next commit
ENH: wild attempt to use my chroot'ed environments
  • Loading branch information
yarikoptic committed Feb 20, 2015
commit 5ad7afc1461d093ad30bd4e6b407efe82e6dc799
21 changes: 20 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ python:
- "3.3"
- "3.4"
# - "pypy" - won't work as smmap doesn't work (see gitdb/.travis.yml for details)
env:
matrix:
# Do not be greedy and enable all at once -- free public services
# might start puking into your face. Select known to
# fail/representative set:
- DIST= REL= ARCH=
#- DIST=debian REL=wheezy ARCH=i386
- DIST=debian REL=wheezy ARCH=amd64
- DIST=debian REL=jessie ARCH=i386
#- DIST=debian REL=jessie ARCH=amd64
#- DIST=debian REL=sid ARCH=i386
- DIST=debian REL=sid ARCH=amd64 COVERAGE=1
#- DIST=ubuntu REL=precise ARCH=i386
- DIST=ubuntu REL=precise ARCH=amd64
#- DIST=ubuntu REL=saucy ARCH=i386
#- DIST=ubuntu REL=saucy ARCH=amd64
#- DIST=ubuntu REL=trusty ARCH=i386
- DIST=ubuntu REL=trusty ARCH=amd64
git:
# a higher depth is needed for most of the tests - must be high enough to not actually be shallow
# as we clone our own repository in the process
Expand All @@ -25,11 +43,12 @@ install:
# as commits are performed with the default user, it needs to be set for travis too
- git config --global user.email "travis@ci.com"
- git config --global user.name "Travis Runner"
- if [ ! -z "$DIST" ]; then wget -q http://neuro.debian.net/travis-chroot && chmod +x travis-chroot; fi
script:
# Make sure we limit open handles to see if we are leaking them
- ulimit -n 96
- ulimit -n
- nosetests -v --with-coverage
- if [ -z "$DIST" ]; then nosetests -v --with-coverage; else ./travis-chroot run nosetests -v --with-coverage; fi
- flake8
- cd doc && make html
after_success:
Expand Down