-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
63 lines (61 loc) · 1.38 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
language: c
dist: trusty
sudo: true
matrix:
include:
- os: linux
compiler: gcc
env: CC_OQS=gcc-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
before_install:
- sh .travis/install-clang-format-linux.sh
- os: linux
compiler: gcc
env: CC_OQS=gcc-4.9
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 ENABLE_NTRU=1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- libssl-dev
before_install:
- sh .travis/install-clang-format-linux.sh
- bash download-and-build-ntru.sh
- os: osx
compiler: clang
env: CC_OQS=clang AES_NI=0 USE_OPENSSL=1 ENABLE_CODE_MCBITS=1 ENABLE_NTRU=1
before_install:
- brew install clang-format openssl libsodium
- bash download-and-build-ntru.sh
script:
- CC=$CC_OQS make
- CC=$CC_OQS make check
- for f in $(ls .travis/*-check.sh); do bash $f; done