Skip to content

Commit

Permalink
Travis: Use sudo-less infrastructure, and add simple Win32/64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Feb 10, 2016
1 parent e28341c commit ae5fe61
Showing 1 changed file with 31 additions and 4 deletions.
35 changes: 31 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,38 @@
os: linux
language: c
compiler: gcc
sudo: required
sudo: false
matrix:
include:
- compiler: ": Complete"
env: CONFIGURE_OPTS="--enable-tool" PACKAGES="build-essential libgcrypt-dev" MAKE_CHECK=1
- compiler: ": No tools/tests"
env: CONFIGURE_OPTS="--disable-tool" PACKAGES="build-essential"
env: CONFIGURE_OPTS="--enable-tool --enable-static --enable-shared" MAKE_CHECK=1
addons:
apt:
packages:
- build-essential
- libgcrypt11-dev
- compiler: ": No tool/tests"
env: CONFIGURE_OPTS="--disable-tool --enable-static --enable-shared"
addons:
apt:
packages:
- build-essential
- compiler: ": Win32 - No tool/tests"
env: CONFIGURE_OPTS="--disable-tool --host=i686-w64-mingw32 --enable-static --enable-shared"
addons:
apt:
packages:
- gcc-mingw-w64-i686
- binutils-mingw-w64-i686
- mingw-w64-dev
- compiler: ": Win64 - No tool/tests"
env: CONFIGURE_OPTS="--disable-tool --host=x86_64-w64-mingw32 --enable-static --enable-shared"
addons:
apt:
packages:
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
- mingw-w64-dev
exclude:
- compiler: gcc
install:
Expand All @@ -19,3 +44,5 @@ script:
- ./configure $CONFIGURE_OPTS || tail -n 1000 config.log
- make
- test -z "$MAKE_CHECK" || make check
- make install DESTDIR=$PWD/ii
- cd ii && find

0 comments on commit ae5fe61

Please sign in to comment.