Commit Graph

47 Commits

Author SHA1 Message Date
Thom Wiggers
00f72102ab
Install astyle on OSX 2019-02-28 17:06:45 +01:00
Thom Wiggers
97b298a04e
Only build OS X on travis 2019-02-28 16:01:06 +01:00
Thom Wiggers
79a1da56b4
Remove duplicate language line 2019-02-28 15:05:55 +01:00
Thom Wiggers
32445f815d
The 'language: minimal' should have docker 2019-02-28 13:42:04 +01:00
Thom Wiggers
d06d8b34c1
Fix typo in container, fix mac builds 2019-02-28 13:42:04 +01:00
Thom Wiggers
c0e4cac831
Greatly simplify container builds 2019-02-28 13:42:04 +01:00
eb4d7cb69a Enable address and UB sanitizers
This enables address sanitizer and undefined behaviour sanitizer,
but disables leak detection sanitizer.
It seema there is an issue in qemu that we are using, which prevents
spawning leaksanitizer's tracer thread. But as leak detection is
already done by valgrind on x86 build, this functionality is not
absolute need at the moment.
2019-02-19 10:39:44 +00:00
Douglas Stebila
fde02ce2b1 Migrate test vector checks to pythonic testing framework 2019-02-18 10:07:01 -05:00
Thom Wiggers
6c715bc823
Add nose to container tests 2019-02-18 13:09:38 +01:00
Thom Wiggers
78e349f3ba
Fix the test command
I should be less cocky about pushing these things to master and instead to a PR
2019-02-18 12:53:28 +01:00
Thom Wiggers
4f5888c7da
Fix .travis.yml to include rednose on debian builds 2019-02-18 10:22:10 +01:00
Thom Wiggers
f43200f34d
Colourise test output 2019-02-18 10:10:20 +01:00
Douglas Stebila
d36626caac Move metadata check to Python testing framework 2019-02-16 10:07:59 -05:00
12d9e038b0 arm: temporarily disable sanitizers 2019-02-15 09:35:38 +00:00
Thom Wiggers
2d09abcdf9
Remove deleted check from ARM builds 2019-02-15 09:59:21 +01:00
Thom Wiggers
bb38e64258
Merge pull request #30 from PQClean/ds-test-namespace
Implement symbol namespace check using new Python testing framework
2019-02-15 09:57:24 +01:00
Thom Wiggers
608aedce56
Merge pull request #26 from henrydcase/ci_arm
adds tests on arm7 and arm8
2019-02-15 09:47:21 +01:00
e3f23082b8 adds tests on arm 32/64 2019-02-14 22:36:39 +00:00
Douglas Stebila
0943ae4c6e Remove old make target for symbol namespace check. 2019-02-14 11:53:54 -05:00
Douglas Stebila
ba359473b9 Remove old license check and reduce re-building 2019-02-14 11:36:24 -05:00
Peter Schwabe
9b29d34bf9 Merge branch 'reformat-kyber'
Fixed (hopefully) both formatting and astyle config to not break
formatting again
2019-02-14 15:32:12 +01:00
Thom Wiggers
3b73ea134d
Formatted everything with astyle
clang-format was not flexible enough to allow lining out things on
columns with spaces.
2019-02-14 14:08:16 +01:00
Douglas Stebila
72d514a6fe Call nose differently and add test documentation 2019-02-13 22:31:37 -05:00
Douglas Stebila
012b96c519 Typo 2019-02-13 22:27:24 -05:00
Douglas Stebila
f64a7e0dd4 Reimplement Python tests using nose framework 2019-02-13 22:25:34 -05:00
Thom Wiggers
1f9da4b711
Run 32-bit tests 2019-02-11 15:15:48 +01:00
Thom Wiggers
29765b0adc
Postpone Clang on PPC
There is an issue with libclang-common-dev [0]

[0]: should be on https://lists.debian.org/debian-powerpc/2019/02/
2019-02-11 14:08:53 +01:00
Thom Wiggers
39b51965e8
Switch to new PPC repository and run Clang on PPC 2019-02-11 13:07:43 +01:00
Joost Rijneveld
a9e7e904d3
Run tests on userspace-emulated PowerPC
This has the downside of not supporting running tests on Valgrind, see
the discussion in issue #15. However, this does test quite a lot
already.

This uses the docker container defined in
https://github.com/thomwiggers/debian-unstable-powerpc/.

Co-authored-by: Thom Wiggers <thom@thomwiggers.nl>
2019-02-05 11:06:42 +01:00
Thom Wiggers
a8aa346912
Use python3-yaml instead of pip on Linux. 2019-02-05 11:03:10 +01:00
Thom Wiggers
11a2a45193
Add names to builds 2019-02-05 11:02:07 +01:00
Matthias J. Kannwischer
3b47fb2db7 check for license files 2019-01-29 17:45:37 +01:00
Thom Wiggers
8fe988fe51
Check META files (closes #6) 2019-01-29 17:25:29 +01:00
Thom Wiggers
3549be95f5
Don't install Python 3 on Travis OSX
It's already available. Should speed up the build a small bit
2019-01-23 12:45:32 +01:00
Thom Wiggers
07ca665f0b
Don't run Valgrind on OSX
It's poorly supported and reports false positives (See also #10)
2019-01-23 12:36:35 +01:00
Thom Wiggers
08830cde0c
Explicitly install setuptools 2019-01-23 11:50:38 +01:00
Thom Wiggers
23afad2915
Install python3-dev as well 2019-01-23 11:49:02 +01:00
Thom Wiggers
630ae782fd
Make sure python3-pip is installed 2019-01-23 11:40:43 +01:00
Thom Wiggers
a51d3219fc
Remove hardcoded python3.7 and just rely on Python3 2019-01-23 11:37:13 +01:00
Thom Wiggers
1e92a13703
install valgrind on OSX 2019-01-22 17:45:31 +01:00
Thom Wiggers
d66bef0284
Install test dependencies and build on OSX GCC 2019-01-22 17:45:30 +01:00
Thom Wiggers
59848bd73d
comment out OSX 2019-01-16 15:01:52 +01:00
Thom Wiggers
12d1c7192a
don't specify osx image 2019-01-16 14:59:45 +01:00
Thom Wiggers
4d0082fa43
Add travis config
Also fixes some tidy issues

Not sure why my local clang-tidy doesn't complain
2019-01-16 14:54:24 +01:00
Thom Wiggers
377669decd
use tidy-all in travis.yml 2019-01-16 13:55:48 +01:00
Thom Wiggers
c0deaa4952
Add automatic testing 2019-01-16 13:52:53 +01:00
Thom Wiggers
34a41163bc
Add travis config 2019-01-16 13:02:57 +01:00