Test the proxy in release mode in Docker in CI on the master branch. (#327)

* Test the proxy in release mode in Docker in CI on the master branch.

Previously we were not running the proxy tests in the release configuration.

Run the proxy tests in the release configuration through Docker.

Docker builds with tests in release mode are too slow to run on every
pull request so release mode tests will only be run on the master
branch.

Signed-off-by: Brian Smith <brian@briansmith.org>
This commit is contained in:
Brian Smith 2018-02-13 12:16:50 -10:00 committed by GitHub
parent 50f4aa57e5
commit aa123b8ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -115,9 +115,9 @@ jobs:
- export BUILD_DEBUG=1 DOCKER_TRACE=1
script:
# Proxy tests are run in the `test` stage, re-running them here would be
# redundant/slow. #280
- PROXY_SKIP_TESTS=1 bin/docker-build
# We re-run the tests here in *release* (--release) mode since the
# `test` stage only runs them in *debug* mode.
- bin/docker-build
after_success:
- bin/docker-push-deps