diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2019-05-25 20:07:58 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2019-05-25 20:07:58 +0200 |
commit | 86e21e16728eefbad15524329b8fa1df2d53b670 (patch) | |
tree | d3d281d154d2fe1f8b24b8c558d426c09a3f8fb0 | |
parent | 1d2c692c1237f51058b91fd3086d724daf34e9f9 (diff) |
travis-ci update
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 3d19058..330f36c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ before_install: - sudo apt-get install -y git debhelper dpkg-dev build-essential fakeroot flawfinder wget unzip realpath - sudo apt-get install -y libpcap-dev libselinux1-dev - sudo apt-get install -y binutils-mingw-w64-i686 gcc-mingw-w64 mingw-w64-i686-dev mingw-w64-common clang +- sudo apt-get install -y binutils-mingw-w64-x86-64 mingw-w64-x86-64-dev - sudo apt-get install -y autoconf automake dh-autoreconf after_failure: - cat config.log @@ -17,9 +18,25 @@ script: # debian build - dpkg-buildpackage -b -us -uc - make clean -# mingw-w64 build +# mingw-w64-i386 build (WinPcap) - CC=i686-w64-mingw32-gcc ./configure --enable-option-checking=fatal --prefix=/ --host=i686-w64-mingw32 - make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy)" V=s +- mv ./deploy/ptunnel-ng.exe ./deploy/ptunnel-ng_i386_winpcap.exe +- make clean +# mingw-w64-i386 build (Npcap) +- CC=i686-w64-mingw32-gcc ./configure --enable-option-checking=fatal --prefix=/ --host=i686-w64-mingw32 --enable-npcap +- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy)" V=s +- mv ./deploy/ptunnel-ng.exe ./deploy/ptunnel-ng_i386_npcap.exe +- make clean +# mingw-w64-x86_64 build (WinPcap) +- CC=x86_64-w64-mingw32-gcc ./configure --enable-option-checking=fatal --prefix=/ --host=x86_64-w64-mingw32 +- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy)" V=s +- mv ./deploy/ptunnel-ng.exe ./deploy/ptunnel-ng_x64_winpcap.exe +- make clean +# mingw-w64-x86_64 build (Npcap) +- CC=x86_64-w64-mingw32-gcc ./configure --enable-option-checking=fatal --prefix=/ --host=x86_64-w64-mingw32 --enable-npcap +- make install CFLAGS='-Werror' DESTDIR="$(realpath ./deploy)" V=s +- mv ./deploy/ptunnel-ng.exe ./deploy/ptunnel-ng_x64_npcap.exe - make clean # clang build - CC=clang ./configure --enable-option-checking=fatal --prefix=/ |