aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 16a7b12b0e88c20b4c412ad3ceb28efa8b0d4f9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: c

before_install:
    - sudo apt-get -qq update
    - sudo apt-get install -y git debhelper fakeroot
    - 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
    - sudo apt-get install -y autoconf automake dh-autoreconf

after_failure:
    - cat config.log

script:
    - ./autogen.sh
    - git clean -df . && dpkg-buildpackage -b -us -uc
    - git clean -df . && export CC=i686-w64-mingw32-gcc && ./autogen.sh --host=i686-w64-mingw32 --build=$(gcc -dumpmachine)