https://github.com/GPflow/GPflow
Revision fdb8efbd1355280fa088643fad85692431b68adb authored by Vincent Dutordoir on 28 November 2018, 19:37:13 UTC, committed by Artem Artemev on 28 November 2018, 19:37:13 UTC
1 parent 18fa159
Raw File
Tip revision: fdb8efbd1355280fa088643fad85692431b68adb authored by Vincent Dutordoir on 28 November 2018, 19:37:13 UTC
Support TensorFlow 1.12 (#877)
Tip revision: fdb8efb
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