forked from luke-jr/libbase58
-
Notifications
You must be signed in to change notification settings - Fork 197
/
.travis.yml
48 lines (48 loc) · 1.49 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
44
45
46
47
48
os: linux
language: c
compiler: gcc
sudo: false
matrix:
include:
- compiler: ": Complete"
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-i686-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-x86-64-dev
exclude:
- compiler: gcc
install:
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get update; fi
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi
script:
- unset CC
- ./autogen.sh
- ./configure $CONFIGURE_OPTS || tail -n 1000 config.log
- make
- test -z "$MAKE_CHECK" || make check
- make install DESTDIR=$PWD/ii
- cd ii && find