-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
23 lines (23 loc) · 927 Bytes
/
.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
dist: trusty
sudo: required
install:
- sudo apt-get -qq update
- sudo apt-get -qq install build-essential rake bison git curl zlib1g-dev
env:
global:
- CFLAGS=-I/opt/include LDFLAGS=-L/opt/lib
matrix:
- SSL_VERSION=openssl-1.0.2 DOWNLOAD_URL="https://www.openssl.org/source/${SSL_VERSION}-latest.tar.gz"
- SSL_VERSION=openssl-1.1.0 DOWNLOAD_URL="https://www.openssl.org/source/${SSL_VERSION}-latest.tar.gz"
- SSL_VERSION=libressl-2.5.5 DOWNLOAD_URL="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${SSL_VERSION}.tar.gz"
- SSL_VERSION=libressl-2.6.2 DOWNLOAD_URL="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${SSL_VERSION}.tar.gz"
before_script:
- curl -sSfL $DOWNLOAD_URL | tar xz
- pushd ${SSL_VERSION}*
- ./config --prefix=/opt shared zlib -fPIC > /dev/null
- make > /dev/null
- sudo make install_sw > /dev/null
- popd
- sudo ldconfig /opt/lib
script:
- "ruby run_test.rb all test"