- updated Travis CI configuration

Select Release configuration explicitly because CMAKE_BUILD_TYPE doesn't work with MSBuild projects
Use long names for command line options of native build tools
Enable minimal verbosity for MSBuild
This commit is contained in:
alexey.lysiuk 2019-02-08 16:37:09 +02:00
parent 78c0b7f230
commit 96e249bcb1

View file

@ -108,11 +108,11 @@ matrix:
- os: windows - os: windows
env: env:
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -A Win32" - CMAKE_OPTIONS="-A Win32"
- os: windows - os: windows
env: env:
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -A x64" - CMAKE_OPTIONS="-A x64"
before_install: before_install:
- if [ -n "$GCC_VERSION" ]; then export CC="gcc-${GCC_VERSION}" CXX="g++-${GCC_VERSION}"; fi - if [ -n "$GCC_VERSION" ]; then export CC="gcc-${GCC_VERSION}" CXX="g++-${GCC_VERSION}"; fi
@ -132,8 +132,8 @@ script:
-DFORCE_INTERNAL_GME=YES \ -DFORCE_INTERNAL_GME=YES \
-DPK3_QUIET_ZIPDIR=YES \ -DPK3_QUIET_ZIPDIR=YES \
.. ..
- if [[ $TRAVIS_OS_NAME == 'windows' ]]; then cmake --build . -- -m; fi - if [[ $TRAVIS_OS_NAME == 'windows' ]]; then cmake --build . --config Release -- -maxcpucount -verbosity:minimal; fi
- if [[ $TRAVIS_OS_NAME != 'windows' ]]; then cmake --build . -- -j2 -k; fi - if [[ $TRAVIS_OS_NAME != 'windows' ]]; then cmake --build . -- --jobs=2 --keep-going; fi
notifications: notifications:
email: false email: false