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

Implement documentation uploading

parent a02c3534
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: 2.6
- python: 2.7
env:
- secure: MC0lSIqOFXAuE4XzlRegncweAu+CV61QJL6mzuWHKUGKgZyjOeQOaMGkR66CmIeeEtt6xXSVh2944w9D8/mUg5Xw8e9cxz9eZIE+MdreYoZEly83zI+fai7/6mjPiz9QIDrEaY9sYd51kubTpE8/9DTrbljl/WjR4O8rdqv+gmc=
- secure: cWqM2TBcrRco5W38Cp5z2/662b9CrOsy9SA7tm+g35XqphHjDRpkOL9/jUpEI7D2l4NF1V8EqMuswPyK7nzABd2tVrRsEuiM5W71ZkgS7vASqkHIleminNfRhAf8uJeGeYdj1IbUqPITZhdm1yDqSTTrEnCD/798k8Nf8tY5L/c=
- python: 3.2 - python: 3.2
env: env:
- NUMPYSPEC===1.7.1 - NUMPYSPEC===1.7.1
- python: 3.3 - python: 3.3
env: env:
- NUMPYSPEC===1.8.0 - 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.core import get_config; print(get_config())'" - ./bin/python -c 'from bob.core import get_config; print(get_config())'
- "./bin/coverage run --source=bob.core ./bin/nosetests -sv" - ./bin/coverage run --source=bob.core ./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:
- "cpp-coveralls --build-root=`pwd` --exclude=src" - cpp-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.
Please register or to comment