forked from pq-crystals/kyber
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (41 loc) · 902 Bytes
/
.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
language: c
os: linux
dist: bionic
compiler:
- gcc
- clang
arch:
- amd64
- arm64
- ppc64le
- s390x
script: ./runtests.sh
jobs:
include:
- os: osx
compiler: clang
env:
- CFLAGS="-I/usr/local/opt/openssl@1.1/include/"
- NISTFLAGS="-I/usr/local/opt/openssl@1.1/include/"
- LDFLAGS="-L/usr/local/opt/openssl@1.1/lib/"
- stage: coverage
os: linux
compiler: gcc
before_install:
- sudo apt-get update
- sudo apt-get install -y lcov
- gem install coveralls-lcov
script: ./runlcov.sh
after_success:
- coveralls-lcov ref/kyber.lcov
allow_failures:
- os: windows
compiler: msvc19
before_install:
- choco install openssl
script:
- mkdir build
- cd build
- cmake -A x64 ..
- cmake --build .
- ctest --output-on-failure