forked from aws/s2n-tls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (48 loc) · 1.93 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
sudo: required
language: c
cache:
directories:
# Cache test dependencies that would normally be re-compiled for every build.
# This directory is unique for each entry of the build matrix per:
# https://docs.travis-ci.com/user/caching/#Caches-and-build-matrices
- test-deps
jobs:
include:
# Normal Build Targets
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=openssl-1.1.1 BUILD_S2N=true TESTS=integration GCC_VERSION=6
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=openssl-1.1.1 BUILD_S2N=true GCC_VERSION=4.8
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=openssl-1.1.1 BUILD_S2N=true TESTS=integration GCC_VERSION=9
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=openssl-1.1.1 BUILD_S2N=true TESTS=integration GCC_VERSION=6 S2N_CORKED_IO=true
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=openssl-1.0.2 BUILD_S2N=true TESTS=integration GCC_VERSION=6
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=openssl-1.0.2-fips BUILD_S2N=true TESTS=integration GCC_VERSION=6
- os: linux
dist: bionic
env: S2N_LIBCRYPTO=libressl BUILD_S2N=true TESTS=integration GCC_VERSION=6
- os: linux
dist: bionic
# Force libcrypto to use "software only" crypto implementations for AES and AES-GCM. Verify s2n can gracefully use
# unoptimized routines. See https://www.openssl.org/docs/man1.1.0/crypto/OPENSSL_ia32cap.html
env: S2N_LIBCRYPTO=openssl-1.1.1 OPENSSL_ia32cap="~0x200000200000000" BUILD_S2N=true TESTS=integration GCC_VERSION=6
- os: linux
dist: bionic
# Force S2N to use the generic C code for PQ crypto (instead of the optimized x86_64 assembly code)
env: S2N_LIBCRYPTO=openssl-1.1.1 BUILD_S2N=true TESTS=integration GCC_VERSION=9 S2N_NO_PQ_ASM=true
before_install:
- source .travis/s2n_setup_env.sh
install:
- travis_retry .travis/s2n_install_test_dependencies.sh
script:
- .travis/s2n_travis_build.sh
- .travis/s2n_after_travis_build.sh