diff --git a/.travis.yml b/.travis.yml index 3c5a4ebe8ab3a9b9d0fefb1dc52ff6f6893f6f6a..46603de24a01a95b08d5c6a0ac6ecd5de7e92c47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,33 +1,37 @@ -# After changing this file, run it through http://lint.travis-ci.org/ -# Generates 4 builds, the ones for python3 will install external wheels language: python -python: - - 2.6 - - 2.7 matrix: include: - - python: 3.2 - env: - - NUMPYSPEC===1.7.1 - - python: 3.3 - env: - - NUMPYSPEC===1.8.0 + - python: 2.6 + - python: 2.7 + env: + - secure: TEPqit10h7L/l4kbv8zbvKH9freS6f1p2pIfUuMMfASKuZHAzizljSv14NKqeXhrpr5kPbQhNAcMrme8x7Is7bQCVxN4/8K6BQNmp2V6hWxBAh+2wk/9Bxv+FNlDBhjQM3rNIM0Wjzf5JW5OM+CMeZjxI1Mi/vNI/oN2vtvFfsA= + - secure: glYEyCLOew9QZXhgTHKkP9JGt/pAT7P/Pfk/SqyX++6wyTjyMrnj0DeSJW7khxtxo6kL+d23eojQVy6Q0izZ3US3KGt3PsLxYf+2Yi4Lhji/RjhZG4qgpz4XUb3cZcmb2wTJ/qFYZbGRjr5KvzkICvzv1IjxCeTuEwnj1ctz62Y= + - python: 3.2 + env: + - NUMPYSPEC===1.7.1 + - python: 3.3 + env: + - NUMPYSPEC===1.8.0 before_install: - - sudo add-apt-repository -y ppa:biometrics/bob - - sudo add-apt-repository -y ppa:biometrics/bob.preview - - sudo apt-get update -qq - - sudo apt-get install -qq --force-yes bob-dev - - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi - - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi - - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi - - pip install cpp-coveralls +- sudo add-apt-repository -y ppa:biometrics/bob +- sudo add-apt-repository -y ppa:biometrics/bob.preview +- sudo apt-get update -qq +- sudo apt-get install -qq --force-yes bob-dev +- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev + liblapack-dev gfortran; fi +- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi +- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ + --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; + fi +- pip install cpp-coveralls install: - - "python bootstrap.py" - - "CFLAGS=-coverage ./bin/buildout" +- python bootstrap.py +- CFLAGS=-coverage ./bin/buildout script: - - "./bin/python -c 'from bob.learn.activation import get_config; print(get_config())'" - - "./bin/coverage run --source=bob.learn.activation ./bin/nosetests -sv" - - "./bin/sphinx-build -b doctest doc sphinx" - - "./bin/sphinx-build -b html doc sphinx" +- ./bin/python -c 'from bob.learn.activation import get_config; print(get_config())' +- ./bin/coverage run --source=bob.learn.activation ./bin/nosetests -sv +- ./bin/sphinx-build -b doctest doc sphinx +- ./bin/sphinx-build -b html doc sphinx after_success: - - "coveralls --build-root=`pwd` --exclude=src" +- coveralls --build-root=`pwd` --exclude=src +- ./src/bob.extension/scripts/upload-sphinx.sh