diff options
author | Cosmin Truta <ctruta@gmail.com> | 2022-09-04 20:21:30 +0300 |
---|---|---|
committer | Cosmin Truta <ctruta@gmail.com> | 2022-09-04 20:21:30 +0300 |
commit | bfb0abe4d99c83c44d4aeb16d819d6c4f17f8cae (patch) | |
tree | cec3a26728bd0ed3fb141187077c639a420c62ba /.travis.yml | |
parent | 081e6751abc03348efe7acc0fd2289ec5eeae234 (diff) | |
download | libpng-bfb0abe4d99c83c44d4aeb16d819d6c4f17f8cae.tar.gz |
Update the configuration for Travis CI and AppVeyor CI
Apply the following changes:
* Add FreeBSD (besides Linux and Mac) to the Travis CI testing.
* Use cc instead of clang for Xcode in the Travis CI testing.
* Upgrade the Windows test image from Visual Studio 2019 to
Visual Studio 2022 for AppVeyor CI.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 3c1eb0ccf..70457cd39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ branches: language: c os: + - freebsd - linux - osx @@ -16,7 +17,6 @@ env: - AUTOMATION=cmake CI_NO_TEST=1 - AUTOMATION=cmake CI_CMAKE_VARS="-DPNG_HARDWARE_OPTIMIZATIONS=ON" CI_SANITIZERS="address,undefined" - AUTOMATION=cmake CI_CMAKE_VARS="-DPNG_HARDWARE_OPTIMIZATIONS=OFF" CI_SANITIZERS="address,undefined" - - AUTOMATION=cmake CI_CMAKE_GENERATOR=Xcode - AUTOMATION=autotools CI_NO_TEST=1 - AUTOMATION=autotools CI_CONFIGURE_FLAGS="--enable-hardware-optimizations" - AUTOMATION=autotools CI_CONFIGURE_FLAGS="--disable-hardware-optimizations" @@ -24,11 +24,15 @@ env: - AUTOMATION=legacy CI_SANITIZERS="address,undefined" matrix: + include: + - os: osx + compiler: cc + env: AUTOMATION=cmake CI_CMAKE_GENERATOR=Xcode exclude: + - os: freebsd + compiler: gcc - os: osx compiler: gcc - - os: linux - env: AUTOMATION=cmake CI_CMAKE_GENERATOR=Xcode before_script: - 'export CI_CMAKE_BUILD_FLAGS="--parallel 2"' |