Skip to content

Commit

Permalink
Implement documentation uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
anjos committed May 27, 2014
1 parent 4aab791 commit 63189a2
Showing 1 changed file with 35 additions and 32 deletions.
67 changes: 35 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,42 @@
# 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
matrix:
include:
- python: 2.6
env:
- SCIPYSPEC===0.12.0
- python: 2.7
env:
- SCIPYSPEC===0.12.0
- python: 3.2
env:
- NUMPYSPEC===1.8.0
- SCIPYSPEC===0.13.1
- python: 3.3
env:
- NUMPYSPEC===1.8.0
- SCIPYSPEC===0.13.1
- python: 2.6
env:
- SCIPYSPEC===0.12.0
- python: 2.7
env:
- SCIPYSPEC===0.12.0
- secure: beInnTQ0NoIusY5eTK4FMPc4hSLiydZw/K3xF3XUhR6zdk1zI7sgqEuXN9VpLt1IEj3MDfng51X2Eko49PV1YXrpel8sFVh80zjy9+kQMY/CqvrHMA3tEyh/cdrRzTqgordRRgniFNZLwCFa5532JqN36Q1qh5lMiOVgWwI+Y2Q=
- secure: EYcM0xSN8UiVXSBijPabtJa0LgKdmr/qGIXUhNOTeQhuVllRNpf8V4y217moUdYZXXWQFjOcC4QR8skgaQSLqOlYEuxMyBPLtIS8LwwH5I9H3mIXFFHPDkK8ia2puFojUBQ8oCLvSRKXn+syIC5bLingvLA1xvIr+/8QhnV3Yuw=
- python: 3.2
env:
- NUMPYSPEC===1.8.0
- SCIPYSPEC===0.13.1
- python: 3.3
env:
- NUMPYSPEC===1.8.0
- SCIPYSPEC===0.13.1
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
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
- pip install --upgrade pip setuptools
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel scipy$SCIPYSPEC sphinx nose
- 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
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
- pip install --upgrade pip setuptools
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/
--find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/
--use-wheel scipy$SCIPYSPEC sphinx nose
- 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.ip.optflow.hornschunck import get_config; print(get_config())'"
- "./bin/coverage run --source=bob.ip.optflow.hornschunck ./bin/nosetests -sv"
- "./bin/sphinx-build -b doctest doc sphinx"
- "./bin/sphinx-build -b html doc sphinx"
- ./bin/python -c 'from bob.ip.optflow.hornschunck import get_config; print(get_config())'
- ./bin/coverage run --source=bob.ip.optflow.hornschunck ./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

0 comments on commit 63189a2

Please sign in to comment.