Getting started

Once you have finished the installation stage. Please, activate the conda environment bob.paper.icb2019.gradgpad.

source activate bob.paper.icb2019.gradgpad

Buildout

python bootstrap-buildout.py
bin/buildout

Test

bin/nosetests -v

Clean

python clean.py

Coverage

bin/coverage run -m unittest discover
bin/coverage html -i
bin/coverage xml -i

Coverage result will be store on htmlcov/.

Doc

bin/sphinx-build -b html doc/ doc/html/

Continuous Integration

In the following script (ci.sh) you can check the different stages that are evaluated over the continuous integration pipeline:

#!/usr/bin/env bash

function main(){
    install_package
    test_package
    doc
}

function install_package(){
    python clean.py
    python bootstrap-buildout.py
    bin/buildout
}

function test_package(){
    bin/nosetests -v
}

function doc(){
    bin/sphinx-build -b html doc doc/html
    cd doc/html
    echo "" >> .nojekyll
    cd ../..
}

main