-
Notifications
You must be signed in to change notification settings - Fork 92
/
.travis.yml
71 lines (64 loc) · 3.44 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
language: c
cache: ccache
git:
depth: 3
compiler:
- clang
- gcc
os:
- linux
# - osx # Travis builds are failing for no obvious reason at the moment
- windows
matrix:
exclude:
- os: osx
compiler: gcc
- os: windows
compiler: clang
allow_failures:
- os:
addons:
apt:
packages:
- zlib1g-dev
- libpng12-dev
- libjpeg62-dev
- libgif-dev
- libncurses5-dev
- libfreetype6-dev
- libfontconfig1-dev
- libx11-dev
- libxrender-dev
- libgl1-mesa-dev
- libxext-dev
- upx-ucl
- libsqlite3-dev
- libssl-dev
- libffi-dev
- libasound2-dev
- libcurl4-openssl-dev
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link openssl --force ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install openssl; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco upgrade openssl; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export PATH="C:\Program Files\OpenSSL-Win64\bin;":$PATH; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wget http://ecere.com/tmp/missingDLLs.7z; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then "C:/Program Files/7-zip/7z" x missingDLLs.7z ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp opengl32.dll C:/windows/system32/ ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp glu32.dll C:/windows/system32/ ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp ddraw.dll C:/windows/system32/ ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp dsound.dll C:/windows/system32/ ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp gnurx-0.dll C:/windows/system32/ ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp gnurx-0.dll "C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/lib/" ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wget http://www.ecere.com/wordpress/wp-content/uploads/2008/03/regex.h; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp regex.h "C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/" ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wget http://www.ecere.com/tmp/avx512dqintrin.h; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then wget http://www.ecere.com/tmp/avx512fintrin.h; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp avx512dqintrin.h "C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/" ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cp avx512fintrin.h "C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/" ; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then mingw32-make MSYSCON=defined OPENSSL_CONF="C:\Program Files\OpenSSL-Win64\bin\openssl.cfg" -j1 V=1 ENABLE_SSL=y troubleshoot; else make -j1 V=1 ENABLE_SSL=y troubleshoot; fi
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then mingw32-make MSYSCON=defined OPENSSL_CONF="C:\Program Files\OpenSSL-Win64\bin\openssl.cfg" -j1 V=1 ENABLE_SSL=y print-all-vars-stat; else make -j1 V=1 ENABLE_SSL=y print-all-vars-stat; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then mingw32-make MSYSCON=defined OPENSSL_CONF="C:\Program Files\OpenSSL-Win64\bin\openssl.cfg" -j1 V=1 ENABLE_SSL=y; else make -j1 V=1 ENABLE_SSL=y; fi