https://github.com/GPflow/GPflow
Revision 5841a876bf02499ac49f7d356a81a546cd9eb60a authored by Hugh Salimbeni on 29 November 2018, 12:36:03 UTC, committed by Hugh Salimbeni on 29 November 2018, 12:36:03 UTC
1 parent bd2d257
Raw File
Tip revision: 5841a876bf02499ac49f7d356a81a546cd9eb60a authored by Hugh Salimbeni on 29 November 2018, 12:36:03 UTC
remove commented lines
Tip revision: 5841a87
travis.sh
#!/bin/bash

set -ex

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

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

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