Skip to content
Snippets Groups Projects
Commit d4d03b61 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Implement documentation uploading

parent 49e7f41b
No related branches found
No related tags found
No related merge requests found
# 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 language: python
python:
- 2.6
- 2.7
matrix: matrix:
include: include:
- python: 3.2 - python: 2.6
env: - python: 2.7
- NUMPYSPEC===1.7.1 env:
- python: 3.3 - secure: TEPqit10h7L/l4kbv8zbvKH9freS6f1p2pIfUuMMfASKuZHAzizljSv14NKqeXhrpr5kPbQhNAcMrme8x7Is7bQCVxN4/8K6BQNmp2V6hWxBAh+2wk/9Bxv+FNlDBhjQM3rNIM0Wjzf5JW5OM+CMeZjxI1Mi/vNI/oN2vtvFfsA=
env: - secure: glYEyCLOew9QZXhgTHKkP9JGt/pAT7P/Pfk/SqyX++6wyTjyMrnj0DeSJW7khxtxo6kL+d23eojQVy6Q0izZ3US3KGt3PsLxYf+2Yi4Lhji/RjhZG4qgpz4XUb3cZcmb2wTJ/qFYZbGRjr5KvzkICvzv1IjxCeTuEwnj1ctz62Y=
- NUMPYSPEC===1.8.0 - python: 3.2
env:
- NUMPYSPEC===1.7.1
- python: 3.3
env:
- NUMPYSPEC===1.8.0
before_install: before_install:
- sudo add-apt-repository -y ppa:biometrics/bob - sudo add-apt-repository -y ppa:biometrics/bob
- sudo add-apt-repository -y ppa:biometrics/bob.preview - sudo add-apt-repository -y ppa:biometrics/bob.preview
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq --force-yes bob-dev - 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 sudo apt-get install -qq libatlas-dev libatlas-base-dev
- if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi liblapack-dev gfortran; 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 - if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
- pip install cpp-coveralls - 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: install:
- "python bootstrap.py" - python bootstrap.py
- "CFLAGS=-coverage ./bin/buildout" - CFLAGS=-coverage ./bin/buildout
script: script:
- "./bin/python -c 'from bob.learn.activation import get_config; print(get_config())'" - ./bin/python -c 'from bob.learn.activation import get_config; print(get_config())'
- "./bin/coverage run --source=bob.learn.activation ./bin/nosetests -sv" - ./bin/coverage run --source=bob.learn.activation ./bin/nosetests -sv
- "./bin/sphinx-build -b doctest doc sphinx" - ./bin/sphinx-build -b doctest doc sphinx
- "./bin/sphinx-build -b html doc sphinx" - ./bin/sphinx-build -b html doc sphinx
after_success: after_success:
- "coveralls --build-root=`pwd` --exclude=src" - coveralls --build-root=`pwd` --exclude=src
- ./src/bob.extension/scripts/upload-sphinx.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment