pqc/.travis.yml

52 lines
1.5 KiB
YAML
Raw Normal View History

matrix:
include:
2019-02-05 10:02:07 +00:00
- name: "MacOS + Clang"
os: osx
osx_image: xcode10.1
compiler: clang
before_install:
- pip3 install -r requirements.txt
2019-04-16 14:01:31 +01:00
before_script:
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
- git reset --hard $TRAVIS_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
- "cd test && travis_wait 60 python3 -m nose --rednose --verbose"
2019-04-16 13:17:18 +01:00
env:
PQCLEAN_ONLY_DIFF: 1
2019-02-28 14:04:03 +00:00
addons:
homebrew:
packages:
- astyle
2019-02-05 10:02:07 +00:00
- name: "MacOS + GCC8"
os: osx
osx_image: xcode10.1
compiler: gcc
addons:
homebrew:
packages:
2019-02-28 14:04:03 +00:00
- astyle
- gcc@8
2019-04-16 13:17:18 +01:00
env:
PQCLEAN_ONLY_DIFF: 1
before_install:
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
- git reset --hard $TRAVIS_COMMIT
- pip3 install -r requirements.txt
- brew link gcc
2019-04-05 08:28:22 +01:00
- export PATH="/usr/local/bin:$PATH"
- ln -s /usr/local/bin/gcc-8 /usr/local/bin/gcc
- 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
- "cd test && travis_wait 60 python3 -m nose --rednose --verbose"
2019-02-27 15:02:24 +00:00
cache: pip
2019-01-16 12:02:57 +00:00
# vim: set ft=yaml ts=2 sw=2 tw=0 et :