From 5ad7afc1461d093ad30bd4e6b407efe82e6dc799 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 21:12:34 -0500 Subject: [PATCH 1/8] ENH: wild attempt to use my chroot'ed environments --- .travis.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b53228ca1..631be61df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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: From 3174fc6dbf4eb90df41c8b9a5a1cb48255643b9c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 21:33:57 -0500 Subject: [PATCH 2/8] Don't bother with different pythons for now --- .travis.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 631be61df..007d21352 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,16 @@ language: python -python: - - "2.6" - - "2.7" - - "3.3" - - "3.4" - # - "pypy" - won't work as smmap doesn't work (see gitdb/.travis.yml for details) +#python: +# - "2.6" +# - "2.7" +# - "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= REL= ARCH= #- DIST=debian REL=wheezy ARCH=i386 - DIST=debian REL=wheezy ARCH=amd64 - DIST=debian REL=jessie ARCH=i386 @@ -43,12 +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 + - wget -q http://neuro.debian.net/travis-chroot && chmod +x travis-chroot script: # Make sure we limit open handles to see if we are leaking them - ulimit -n 96 - ulimit -n - - if [ -z "$DIST" ]; then nosetests -v --with-coverage; else ./travis-chroot run nosetests -v --with-coverage; fi + - ./travis-chroot run nosetests -v --with-coverage - flake8 - cd doc && make html after_success: From d337d61827dc95fea7c2b8f833fe592c625568bd Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 21:40:18 -0500 Subject: [PATCH 3/8] preper before ulimit kicks in --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 007d21352..b64bf82fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,7 @@ install: - git config --global user.email "travis@ci.com" - git config --global user.name "Travis Runner" - wget -q http://neuro.debian.net/travis-chroot && chmod +x travis-chroot + - ./travis-chroot prepare # before ulimit hits hard ;-) script: # Make sure we limit open handles to see if we are leaking them - ulimit -n 96 From da89aed280c48154bf6da2bb364f932cc3a25137 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 21:47:54 -0500 Subject: [PATCH 4/8] apparently have chroots only for neurodeian everything --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index b64bf82fd..ea8f09dad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,8 @@ language: python # - "3.4" # # - "pypy" - won't work as smmap doesn't work (see gitdb/.travis.yml for details) env: + global: + - NEURODEBIAN=1 # I have generated chroots only for neurodebian-enabled everything matrix: # Do not be greedy and enable all at once -- free public services # might start puking into your face. Select known to From 5a0e653ff6d337615fef53c094b687126eedf539 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 22:06:11 -0500 Subject: [PATCH 5/8] Use erlang env to not pollute + install all requirements via pip --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ea8f09dad..1b0bb3da5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -language: python +language: erlang #python: # - "2.6" # - "2.7" @@ -47,6 +47,7 @@ install: - git config --global user.name "Travis Runner" - wget -q http://neuro.debian.net/travis-chroot && chmod +x travis-chroot - ./travis-chroot prepare # before ulimit hits hard ;-) + - ./travis-chroot run pip install -r test-requirements.txt script: # Make sure we limit open handles to see if we are leaking them - ulimit -n 96 From ed488ad682a5ce31bcd6702919f96bbbc98363f5 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 22:17:18 -0500 Subject: [PATCH 6/8] for now no sphinx or flake8 -- just nose installed ia apt-get --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b0bb3da5..097c274d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ git: install: - git submodule update --init --recursive - git fetch --tags - - pip install coveralls flake8 sphinx + #- pip install coveralls flake8 sphinx # generate some reflog as git-python tests need it (in master) - git tag __testing_point__ @@ -47,13 +47,15 @@ install: - git config --global user.name "Travis Runner" - wget -q http://neuro.debian.net/travis-chroot && chmod +x travis-chroot - ./travis-chroot prepare # before ulimit hits hard ;-) - - ./travis-chroot run pip install -r test-requirements.txt + - ./travis-chroot run sudo apt-get install python-nose python-mock + #- pip install -r test-requirements.txt script: # Make sure we limit open handles to see if we are leaking them - ulimit -n 96 - ulimit -n - - ./travis-chroot run nosetests -v --with-coverage - - flake8 - - cd doc && make html + - ./travis-chroot run nosetests -v + #--with-coverage + #- flake8 + #- cd doc && make html after_success: - coveralls From fea7447607b9f5b21faf541312f9a769c9e9458b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 19 Feb 2015 22:32:40 -0500 Subject: [PATCH 7/8] install git as well --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 097c274d2..48da8ebb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,7 @@ install: - wget -q http://neuro.debian.net/travis-chroot && chmod +x travis-chroot - ./travis-chroot prepare # before ulimit hits hard ;-) - ./travis-chroot run sudo apt-get install python-nose python-mock + - ./travis-chroot run sudo apt-get install git #- pip install -r test-requirements.txt script: # Make sure we limit open handles to see if we are leaking them From 33150d92bf89e8deff45620486dd3c19cd9d5281 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 20 Feb 2015 14:33:12 -0500 Subject: [PATCH 8/8] enable saucy as well --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 48da8ebb4..88d70802f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ env: - 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=i386 #- DIST=ubuntu REL=saucy ARCH=amd64 #- DIST=ubuntu REL=trusty ARCH=i386 - DIST=ubuntu REL=trusty ARCH=amd64