Browse Source

Merge pull request #12 from chipitsine/master

travis-ci support
pull/14/head
Samuli Seppänen 9 years ago
parent
commit
071c8b6b2f
  1. 34
      .travis.yml

34
.travis.yml

@ -0,0 +1,34 @@
sudo: required
dist: trusty
os: linux
language: cpp
compiler: gcc
matrix:
fast_finish: true
include:
- compiler: ": Win32"
env: CHOST=i686-w64-mingw32 CBUILD=x86_64-pc-linux-gnu m=mingw
- compiler: ": Win64"
env: CHOST=x86_64-w64-mingw32 CBUILD=x86_64-pc-linux-gnu m=mingw64
exclude:
- compiler: gcc
install:
- sudo apt-get update -qq
- sudo apt-get install -qq -y gcc-mingw-w64
- sudo apt-get install -qq -y man2html
before_script:
- unset CC; unset CXX
script:
- mkdir image
- wget http://www.openssl.org/source/openssl-1.0.1q.tar.gz && tar zxf openssl-1.0.1q.tar.gz && cd openssl-1.0.1q
- ./Configure --prefix=/ --cross-compile-prefix=${CHOST}- shared $m no-multilib no-capieng --openssldir=/etc/ssl --libdir=/lib -static-libgcc
- make install INSTALL_PREFIX="${HOME}/image" INSTALLTOP="/" MANDIR="/tmp"
- cd .. && autoreconf -i -v
- export OPENSSL_CRYPTO_CFLAGS="-I${HOME}/image/include"
- export OPENSSL_CRYPTO_LIBS="-L${HOME}/image/lib -lcrypto"
- ./configure --prefix=/ --libdir=/lib --host=$CHOST --build=$CBUILD --program-prefix='' && make
Loading…
Cancel
Save