forked from OpenVPN/openvpn-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 1.05 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sudo: required
dist: xenial
os: linux
language: cpp
compiler: gcc
env:
global:
- OPENSSL_VERSION=1.1.0g
matrix:
fast_finish: true
include:
- compiler: gcc
env: CHOST=i686-w64-mingw32 CONFIG=""
- compiler: gcc
env: CHOST=x86_64-w64-mingw32 CONFIG=""
- compiler: gcc
env: CHOST=i686-w64-mingw32 CONFIG="--disable-password-change"
- compiler: gcc
env: CHOST=x86_64-w64-mingw32 CONFIG="--disable-password-change"
exclude:
- compiler: gcc
addons:
apt:
packages: [ gcc-mingw-w64 ]
before_script:
- unset CC; unset CXX
script:
- if [[ $CONFIG != *"--disable-password-change"* ]]; then . .travis-build-openssl.sh; fi
- autoreconf -i -v
- ./configure --prefix=/ --libdir=/lib --host=$CHOST --build=x86_64-pc-linux-gnu --program-prefix='' $CONFIG && make
# build from tarball
- make distdir=dist dist && tar xvf dist.tar.gz && cd dist
- ./configure --prefix=/ --libdir=/lib --host=$CHOST --build=x86_64-pc-linux-gnu --program-prefix='' $CONFIG && make
cache:
directories:
- download-cache