2019-06-21 14:47:51 +01:00
|
|
|
language: c
|
|
|
|
|
2019-01-16 12:02:57 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2019-08-28 12:16:07 +01:00
|
|
|
- name: "KEMs: MacOS + Clang"
|
2019-02-05 10:02:07 +00:00
|
|
|
os: osx
|
2019-10-23 06:59:59 +01:00
|
|
|
osx_image: xcode11.2
|
2019-01-16 12:02:57 +00:00
|
|
|
compiler: clang
|
2019-02-05 10:03:10 +00:00
|
|
|
before_install:
|
|
|
|
- pip3 install -r requirements.txt
|
2019-04-16 14:01:31 +01:00
|
|
|
before_script:
|
2019-06-21 14:47:51 +01:00
|
|
|
- export COMMIT=$(git rev-parse HEAD)
|
2019-04-16 14:23:14 +01:00
|
|
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
2019-04-16 14:01:31 +01:00
|
|
|
- git fetch --unshallow
|
2019-04-18 08:19:24 +01:00
|
|
|
- git checkout $TRAVIS_BRANCH
|
2019-06-21 14:47:51 +01:00
|
|
|
- git reset --hard $COMMIT
|
2019-02-27 15:02:24 +00:00
|
|
|
script:
|
2019-04-23 09:40:14 +01:00
|
|
|
# Use travis-wait to allow slower tests to run
|
2019-07-29 09:38:25 +01:00
|
|
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
2019-04-16 13:17:18 +01:00
|
|
|
env:
|
2019-08-28 12:16:07 +01:00
|
|
|
PQCLEAN_ONLY_TYPES: kem
|
2019-04-16 13:17:18 +01:00
|
|
|
PQCLEAN_ONLY_DIFF: 1
|
2019-06-12 08:20:57 +01:00
|
|
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
2019-02-28 14:04:03 +00:00
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- astyle
|
2019-10-23 06:59:59 +01:00
|
|
|
- name: "KEMs: MacOS + GCC9"
|
2019-02-05 10:02:07 +00:00
|
|
|
os: osx
|
2019-10-23 06:59:59 +01:00
|
|
|
osx_image: xcode11.2
|
2019-01-22 14:21:49 +00:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
2019-02-28 14:04:03 +00:00
|
|
|
- astyle
|
2019-10-23 06:59:59 +01:00
|
|
|
- gcc@9
|
2019-04-16 13:17:18 +01:00
|
|
|
env:
|
2019-08-28 12:16:07 +01:00
|
|
|
PQCLEAN_ONLY_TYPES: kem
|
|
|
|
PQCLEAN_ONLY_DIFF: 1
|
|
|
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
|
|
|
before_install:
|
|
|
|
- export COMMIT=$(git rev-parse HEAD)
|
|
|
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
|
|
|
- git fetch --unshallow
|
|
|
|
- git checkout $TRAVIS_BRANCH
|
|
|
|
- git reset --hard $COMMIT
|
|
|
|
- pip3 install -r requirements.txt
|
|
|
|
- brew link gcc
|
|
|
|
- export PATH="/usr/local/bin:$PATH"
|
2019-10-23 06:59:59 +01:00
|
|
|
- ln -s /usr/local/bin/gcc-9 /usr/local/bin/gcc
|
2019-08-28 12:16:07 +01:00
|
|
|
- gcc --version
|
|
|
|
script:
|
|
|
|
# Use travis-wait to allow slower tests to run
|
|
|
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
|
|
|
- name: "SIGs on MacOS + Clang"
|
|
|
|
os: osx
|
2019-10-23 06:59:59 +01:00
|
|
|
osx_image: xcode11.2
|
2019-08-28 12:16:07 +01:00
|
|
|
compiler: clang
|
|
|
|
before_install:
|
|
|
|
- pip3 install -r requirements.txt
|
|
|
|
before_script:
|
|
|
|
- export COMMIT=$(git rev-parse HEAD)
|
|
|
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
|
|
|
- git fetch --unshallow
|
|
|
|
- git checkout $TRAVIS_BRANCH
|
|
|
|
- git reset --hard $COMMIT
|
|
|
|
script:
|
|
|
|
# Use travis-wait to allow slower tests to run
|
|
|
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
|
|
|
env:
|
|
|
|
PQCLEAN_ONLY_TYPES: sign
|
|
|
|
PQCLEAN_ONLY_DIFF: 1
|
|
|
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- astyle
|
2019-10-23 06:59:59 +01:00
|
|
|
- name: "SIGs on MacOS + GCC9"
|
2019-08-28 12:16:07 +01:00
|
|
|
os: osx
|
2019-10-23 06:59:59 +01:00
|
|
|
osx_image: xcode11.2
|
2019-08-28 12:16:07 +01:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- astyle
|
2019-10-23 06:59:59 +01:00
|
|
|
- gcc@9
|
2019-08-28 12:16:07 +01:00
|
|
|
env:
|
|
|
|
PQCLEAN_ONLY_TYPES: sign
|
2019-04-16 13:17:18 +01:00
|
|
|
PQCLEAN_ONLY_DIFF: 1
|
2019-06-12 08:20:57 +01:00
|
|
|
PQCLEAN_SKIP_SCHEMES: sphincs-haraka-128f-robust,sphincs-haraka-192s-robust,sphincs-sha256-128f-robust,sphincs-sha256-192s-robust,sphincs-shake256-128f-robust,sphincs-shake256-192s-robust,sphincs-haraka-128f-simple,sphincs-haraka-192s-simple,sphincs-sha256-128f-simple,sphincs-sha256-192s-simple,sphincs-shake256-128f-simple,sphincs-shake256-192s-simple,sphincs-haraka-128s-robust,sphincs-haraka-256f-robust,sphincs-sha256-128s-robust,sphincs-sha256-256f-robust,sphincs-shake256-128s-robust,sphincs-shake256-256f-robust,sphincs-haraka-128s-simple,sphincs-haraka-256f-simple,sphincs-sha256-128s-simple,sphincs-sha256-256f-simple,sphincs-shake256-128s-simple,sphincs-shake256-256f-simple,sphincs-haraka-192f-robust,sphincs-haraka-256s-robust,sphincs-sha256-192f-robust,sphincs-sha256-256s-robust,sphincs-shake256-192f-robust,sphincs-shake256-256s-robust,sphincs-haraka-192f-simple,sphincs-haraka-256s-simple,sphincs-sha256-192f-simple,sphincs-sha256-256s-simple,sphincs-shake256-192f-simple,sphincs-shake256-256s-simple
|
2019-02-05 10:03:10 +00:00
|
|
|
before_install:
|
2019-06-21 14:47:51 +01:00
|
|
|
- export COMMIT=$(git rev-parse HEAD)
|
2019-04-16 14:23:14 +01:00
|
|
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
2019-04-16 14:01:31 +01:00
|
|
|
- git fetch --unshallow
|
2019-04-18 08:19:24 +01:00
|
|
|
- git checkout $TRAVIS_BRANCH
|
2019-06-21 14:47:51 +01:00
|
|
|
- git reset --hard $COMMIT
|
2019-02-05 10:03:10 +00:00
|
|
|
- pip3 install -r requirements.txt
|
2019-04-05 12:38:02 +01:00
|
|
|
- brew link gcc
|
2019-04-05 08:28:22 +01:00
|
|
|
- export PATH="/usr/local/bin:$PATH"
|
2019-10-23 06:59:59 +01:00
|
|
|
- ln -s /usr/local/bin/gcc-9 /usr/local/bin/gcc
|
2019-02-18 09:22:10 +00:00
|
|
|
- gcc --version
|
2019-02-27 15:02:24 +00:00
|
|
|
script:
|
2019-04-23 09:40:14 +01:00
|
|
|
# Use travis-wait to allow slower tests to run
|
2019-07-29 09:38:25 +01:00
|
|
|
- "cd test && travis_wait 60 python3 -m pytest --numprocesses=auto"
|
2019-02-27 15:02:24 +00:00
|
|
|
|
2019-01-16 12:02:57 +00:00
|
|
|
|
2019-06-20 10:15:15 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/Library/Caches/pip
|
|
|
|
- $HOME/Library/Caches/Homebrew
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- brew cleanup
|
2019-01-22 14:21:49 +00:00
|
|
|
|
2019-01-16 12:02:57 +00:00
|
|
|
# vim: set ft=yaml ts=2 sw=2 tw=0 et :
|