diff --git a/.travis.yml b/.travis.yml index 0fdd2bbc4792094cf104addc2bebf8e65ac5ef4e..10a6cca66793f8eb286672dfef5e99dc7230b4d5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ -# 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: 2.6 + - python: 2.7 + env: + - secure: Mjicore21483fMCADQLzOqhWQ9jWlfoppAMK+8cHYrz6pluK8cv/lBou4JXdE5Y/1z8svn44boMpCSldppDImqFfJGLFE0mvAl8CiSHtXp3mxQxpS2yDd4pCAfxMzr+K4M0/bfOrhAviI/3itKG5GiwCviLeTIiQ7dAJJrnU1C8= + - secure: QgHg0wGSy8ZGRELq7nXAAdv17q2/NDinAoFA3aNjJ5ZAUsi9ymKJGtwa1HbJN6npQgMDAew+joj85VeKMEDv7dCcNp2ySm2q23qIppoAutdBH23tvaMmvzgKsSvtFqq7SL52vcx9HY13mVXhhUenr1XeGlxRV2RFTeQz276arsg= - python: 3.2 env: - NUMPYSPEC===1.7.1 @@ -13,21 +13,25 @@ matrix: 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.io.base import get_config; print(get_config())'" - - "./bin/coverage run --source=bob.io.base ./bin/nosetests -sv" - - "./bin/sphinx-build -b doctest doc sphinx" - - "./bin/sphinx-build -b html doc sphinx" +- ./bin/python -c 'from bob.io.base import get_config; print(get_config())' +- ./bin/coverage run --source=bob.io.base ./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