forked from open-quantum-safe/liboqs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
83 lines (81 loc) · 1.85 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
language: c
dist: trusty
sudo: true
matrix:
include:
- os: linux
compiler: gcc
env:
- ENABLE_SIDH_IQC_REF=1
- ENABLE_KEX_LWE_FRODO=0
- ENABLE_KEX_SIDH_MSR=0
- ENABLE_SIG_PICNIC=0
- USE_OPENSSL=1
- ENABLE_KEX_RLWE_NEWHOPE_AVX2=1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
before_install:
- sh .travis/install-clang-format-linux.sh
- os: linux
compiler: gcc
env:
- CC_OQS=gcc-4.9
- ENABLE_SIG_PICNIC=0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
before_install:
- sh .travis/install-clang-format-linux.sh
- os: linux
compiler: gcc
env: CC_OQS=gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
before_install:
- sh .travis/install-clang-format-linux.sh
- os: linux
compiler: gcc
env:
- CC_OQS=gcc-6
- USE_OPENSSL=1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- libssl-dev
before_install:
- sh .travis/install-clang-format-linux.sh
- os: osx
compiler: clang
env:
- CC_OQS=clang
- AES_NI=0
before_install:
- brew update
- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0c4314c499576b28e4c082b591228a8f940954c0/Formula/clang-format.rb
- os: osx
compiler: clang
env:
- CC_OQS=clang
- AES_NI=0
- USE_OPENSSL=1
- OPENSSL_DIR=/usr/local/opt/openssl # openssl is a keg-only package
- ENABLE_CODE_MCBITS=1
- ENABLE_SIDH_IQC_REF=1
before_install:
- brew update
- brew install libsodium
- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0c4314c499576b28e4c082b591228a8f940954c0/Formula/clang-format.rb
script:
- ./.travis-tests.sh