Small improvements to open source CI configuration.

This CL fixes 64-bit Windows testing (), makes it possible to view the
test output in the Travis / AppVeyor CI console while the test is
running, and takes advantage of the new support for the .appveyor.yml
file name to make the CI configuration less obtrusive.
This commit is contained in:
costan
2017-07-27 16:34:19 -07:00
committed by Victor Costan
parent c756f7f5d9
commit e4de6ce087
2 changed files with 15 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ matrix:
addons:
apt:
# List of whitelisted in travis packages for ubuntu-precise can be found here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
# List of whitelisted in travis packages for ubuntu-trusty can be found here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-trusty
# List of whitelisted in travis apt-sources:
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
sources:
@@ -48,6 +48,12 @@ install:
- echo ${CXX}
- ${CXX} --version
before_script:
- mkdir -p build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- cmake --build .
- cd ..
- cmake --version
script:
- mkdir -p build && cd build && cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE &&
CTEST_OUTPUT_ON_FAILURE=1 make all test
- build/snappy-unittest