Revision 997e210a7694c7a420f3a1cedc9623c670dbf8da authored by Hugh Salimbeni on 29 November 2018, 13:12:22 UTC, committed by Hugh Salimbeni on 29 November 2018, 13:12:22 UTC
1 parent 5841a87
Raw File
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