reorganized .travis.yml

This commit is contained in:
hyunghwan.chung 2020-12-03 08:42:19 +00:00
parent d72885b1c2
commit efa1ee11e8

View File

@ -1,5 +1,4 @@
language: c language: c
sudo: false
os: os:
- linux - linux
@ -9,7 +8,7 @@ compiler:
- clang - clang
env: env:
matrix: jobs:
- OPTIONS="--enable-static=yes --enable-shared=no --enable-debug=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes" - OPTIONS="--enable-static=yes --enable-shared=no --enable-debug=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes"
- OPTIONS="--enable-static=yes --enable-shared=no --enable-debug=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:4 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes" - OPTIONS="--enable-static=yes --enable-shared=no --enable-debug=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:4 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes"
- OPTIONS="--enable-static=no --enable-shared=yes --enable-debug=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes" - OPTIONS="--enable-static=no --enable-shared=yes --enable-debug=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes"
@ -19,11 +18,13 @@ env:
- OPTIONS="--enable-static=no --enable-shared=yes --enable-debug=yes --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes" - OPTIONS="--enable-static=no --enable-shared=yes --enable-debug=yes --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes"
- OPTIONS="--enable-static=no --enable-shared=yes --enable-debug=yes --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:4 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes" - OPTIONS="--enable-static=no --enable-shared=yes --enable-debug=yes --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:4 --enable-full-liw=no --enable-mod-con=yes --enable-mod-sck=yes --enable-mod-ffi=yes --enable-mod-x11=yes --enable-pthread-flags=yes"
matrix: jobs:
include: include:
- os: osx - os: osx
compiler: clang compiler: clang
env: OPTIONS="--enable-static=yes --enable-shared=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=no --enable-mod-sck=yes --enable-mod-ffi=no --enable-mod-x11=no --enable-pthread-flags=yes CPPFLAGS='-D__BEGIN_DECLS -D__END_DECLS'" env:
- OPTIONS="--enable-static=yes --enable-shared=no --enable-dynamic-module=yes --enable-static-module=yes --enable-wide-char=yes:2 --enable-full-liw=no --enable-mod-con=no --enable-mod-sck=yes --enable-mod-ffi=no --enable-mod-x11=no --enable-pthread-flags=yes"
- CPPFLAGS="-D__BEGIN_DECLS -D__END_DECLS"
script: script:
- touch -r moo/configure moo/* moo/*/* && cd moo && ./configure $OPTIONS && make && make check - touch -r moo/configure moo/* moo/*/* && cd moo && ./configure $OPTIONS && make && make check