Merge branch 'testcircleci'

This commit is contained in:
nicolas.dorier 2019-05-13 13:48:46 +09:00
commit a3a259556f
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -16,9 +16,9 @@ jobs:
cd BTCPayServer.Tests
docker-compose down --v
docker-compose build
TESTS_RUN_EXTERNAL_INTEGRATION="true"
if [ -n "$CIRCLE_PULL_REQUEST" ] || [ -n "$CIRCLE_PR_NUMBER" ]; then
TESTS_RUN_EXTERNAL_INTEGRATION="false"
TESTS_RUN_EXTERNAL_INTEGRATION="false"
if [ "$CIRCLE_PROJECT_USERNAME" == "btcpayserver" ] && [ "$CIRCLE_PROJECT_REPONAME" == "btcpayserver" ]; then
TESTS_RUN_EXTERNAL_INTEGRATION="true"
fi
docker-compose run -e TESTS_RUN_EXTERNAL_INTEGRATION=$TESTS_RUN_EXTERNAL_INTEGRATION tests