forked from PQClean/PQClean
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
51 lines (48 loc) · 1.46 KB
/
.travis.yml
File metadata and controls
51 lines (48 loc) · 1.46 KB
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
matrix:
include:
- name: "MacOS + Clang"
os: osx
osx_image: xcode10.1
compiler: clang
before_install:
- pip3 install -r requirements.txt
before_script:
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch --unshallow
- git checkout $TRAVIS_BRANCH
- git reset --hard $TRAVIS_COMMIT
script:
# Use travis-wait to allow slower tests to run
- "cd test && travis_wait 30 python3 -m nose --rednose --verbose"
env:
PQCLEAN_ONLY_DIFF: 1
addons:
homebrew:
packages:
- astyle
- name: "MacOS + GCC8"
os: osx
osx_image: xcode10.1
compiler: gcc
addons:
homebrew:
packages:
- astyle
- gcc@8
env:
PQCLEAN_ONLY_DIFF: 1
before_install:
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
- git fetch --unshallow
- git checkout $TRAVIS_BRANCH
- git reset --hard $TRAVIS_COMMIT
- pip3 install -r requirements.txt
- brew link gcc
- export PATH="/usr/local/bin:$PATH"
- ln -s /usr/local/bin/gcc-8 /usr/local/bin/gcc
- gcc --version
script:
# Use travis-wait to allow slower tests to run
- "cd test && travis_wait 30 python3 -m nose --rednose --verbose"
cache: pip
# vim: set ft=yaml ts=2 sw=2 tw=0 et :