https://github.com/GPflow/GPflow
Revision 18fa1593f9077b64ab18e16e07f31a5c783e1d3a authored by Artem Artemev on 24 November 2018, 22:56:31 UTC, committed by Artem Artemev on 24 November 2018, 22:56:31 UTC
1 parent 0ab60c3
Raw File
Tip revision: 18fa1593f9077b64ab18e16e07f31a5c783e1d3a authored by Artem Artemev on 24 November 2018, 22:56:31 UTC
Debug Travis
Tip revision: 18fa159
travis.sh
#!/bin/bash

set -ex

TESTRUN="pytest -W ignore::UserWarning --durations=5 --cov=./gpflow -n auto"

if [[ ! ${TRAVIS_BRANCH} =~ ^(master|develop)$ ]]; then
    ${TESTRUN} -k 'not notebooks' ./tests
# Special case for PRs from develop to master
elif [[ ${TRAVIS_PULL_REQUEST} != false ]] && [[ ${TRAVIS_PULL_REQUEST_BRANCH} != master ]]; then
    ${TESTRUN} -k 'not notebooks' ./tests
else
    ${TESTRUN} ./tests
fi

codecov --token=2ae2a756-f39c-467c-bd9c-4bdb3dc439c8
back to top