2019-08-23 19:27:38 +02:00
|
|
|
language: c
|
|
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
|
include:
|
|
|
|
|
- os: linux
|
2020-10-07 07:20:31 +00:00
|
|
|
arch: amd64
|
|
|
|
|
compiler: gcc
|
|
|
|
|
- os: linux
|
|
|
|
|
arch: ppc64le
|
2019-08-23 19:27:38 +02:00
|
|
|
compiler: gcc
|
2019-08-23 21:20:48 +02:00
|
|
|
- os: osx
|
|
|
|
|
osx_image: xcode11
|
2019-08-23 19:27:38 +02:00
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
- cd ${TRAVIS_BUILD_DIR}
|
2020-10-07 07:20:31 +00:00
|
|
|
- if [ "$TRAVIS_ARCH" = ppc64le ]; then
|
|
|
|
|
FAKETIME_COMPILE_CFLAGS="-DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER" make;
|
|
|
|
|
else
|
2021-09-21 20:33:52 +00:00
|
|
|
FAKETIME_COMPILE_CFLAGS="-DFORCE_MONOTONIC_FIX" make;
|
2020-10-07 07:20:31 +00:00
|
|
|
fi
|
2019-08-23 19:27:38 +02:00
|
|
|
- make test
|