-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
35 lines (35 loc) · 1.59 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
language: c
compiler:
- gcc
- clang
env:
global:
- LIBUV_VER=1.18.0
- WOLFSSL_VER=3.11.0-stable
- OPENSSL_VER=1.1.0
before_install:
- wget https://github.com/libuv/libuv/archive/v$LIBUV_VER.tar.gz
- tar fx v$LIBUV_VER.tar.gz
- pushd libuv-$LIBUV_VER
- ./autogen.sh && ./configure --prefix=/usr --disable-static && make
- sudo make install
- popd
- wget https://www.openssl.org/source/old/1.1.0/openssl-1.1.0.tar.gz
- tar fx openssl-$OPENSSL_VER.tar.gz
- pushd OpenSSL_1_1_0
- perl Configure linux-x86_64
- make
- sudo make install
- popd
- wget https://github.com/wolfSSL/wolfssl/archive/v3.11.0-stable.tar.gz
- tar fx v3.11.0-stable.tar.gz
- pushd wolfssl-3.11.0-stable
- ./autogen.sh && ./configure --disable-static --enable-ipv6 --enable-aesgcm --enable-aesccm --enable-aesni --disable-coding --enable-hkdf --enable-poly1305 --enable-camellia --disable-des3 --enable-hc128 --enable-rabbit --enable-chacha --disable-examples --disable-iopool --disable-oldtls --disable-asn --disable-rsa --enable-fastmath --enable-sha --disable-dh --enable-arc4 --disable-hashdrbg --disable-ecc --disable-sha512 --enable-aesctr --enable-cryptonly --disable-extended-master --disable-sha224 && make
- sudo make install
- popd
- pip install --user cpp-coveralls
script: mkdir -p build/debug && cd build/debug && cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_GCOV=ON ../.. && make && make test
sudo: required
after_success:
- bash <(curl -s https://codecov.io/bash)
- coveralls --exclude lib --exclude tests --gcov-options '\-lp'