forked from aws/s2n-tls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
91 lines (83 loc) · 3.32 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
sudo: required
dist: trusty
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
osx_image: xcode8
os:
- osx
- linux
env:
- TESTS=ctverif
- S2N_LIBCRYPTO=openssl-1.1.0 BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
- S2N_LIBCRYPTO=openssl-1.0.2 BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
- S2N_LIBCRYPTO=openssl-1.0.2-fips BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
- S2N_LIBCRYPTO=libressl BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
# 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
- S2N_LIBCRYPTO=openssl-1.1.0 OPENSSL_ia32cap="~0x200000200000000" BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
- S2N_LIBCRYPTO=openssl-1.1.x-master BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
- S2N_LIBCRYPTO=openssl-1.1.0 LATEST_CLANG=true TESTS=fuzz FUZZ_TIMEOUT_SEC=120
- S2N_LIBCRYPTO=openssl-1.0.2-fips LATEST_CLANG=true TESTS=fuzz FUZZ_TIMEOUT_SEC=120
- S2N_LIBCRYPTO=openssl-1.0.2 BUILD_S2N=true TESTS=valgrind GCC6_REQUIRED=true
matrix:
exclude:
- os: osx
env: TESTS=ctverif
- os: osx
env: S2N_LIBCRYPTO=openssl-1.0.2 BUILD_S2N=true TESTS=valgrind GCC6_REQUIRED=true
- os: osx
env: S2N_LIBCRYPTO=openssl-1.1.x-master BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
- os: osx
env: S2N_LIBCRYPTO=openssl-1.0.2-fips LATEST_CLANG=true TESTS=fuzz
- os: osx
env: S2N_LIBCRYPTO=openssl-1.0.2-fips BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
#This exception is because the test isn't finished yet, remove to turn on DRBG Saw tests
- env: TESTS=sawDRBG SAW=true
include:
- os : linux
env: TESTS=sidetrail
- os : linux
env : TESTS=sawHMAC SAW_HMAC_TEST=md5 SAW=true GCC6_REQUIRED=false
addons: &sawaddons
apt:
packages:
- clang-3.8
- llvm-3.8
- os : linux
env : TESTS=sawHMAC SAW_HMAC_TEST=sha1 SAW=true GCC6_REQUIRED=false
addons : *sawaddons
- os : linux
env : TESTS=sawHMAC SAW_HMAC_TEST=sha224 SAW=true GCC6_REQUIRED=false
addons : *sawaddons
- os : linux
env : TESTS=sawHMAC SAW_HMAC_TEST=sha256 SAW=true GCC6_REQUIRED=false
addons : *sawaddons
- os : linux
env : TESTS=sawHMAC SAW_HMAC_TEST=sha384 SAW=true GCC6_REQUIRED=false
addons : *sawaddons
- os : linux
env : TESTS=sawHMAC SAW_HMAC_TEST=sha512 SAW=true GCC6_REQUIRED=false
addons : *sawaddons
- os : linux
env : TESTS=tls SAW=true GCC6_REQUIRED=false
addons : *sawaddons
- os : linux
env : TESTS=sawHMACFailure SAW=true
addons : *sawaddons
allow_failures:
- os: osx
- env: S2N_LIBCRYPTO=openssl-1.1.x-master BUILD_S2N=true TESTS=integration GCC6_REQUIRED=true
# Optional until we resolve broken remote dependency: https://github.com/awslabs/s2n/pull/615
- env: TESTS=ctverif
fast_finish: true
before_install:
- source .travis/s2n_setup_env.sh
install:
- .travis/s2n_install_test_dependencies.sh
script:
- .travis/s2n_travis_build.sh