-
Notifications
You must be signed in to change notification settings - Fork 20
/
tox.ini
18 lines (17 loc) · 655 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
envlist = py{27,34}-{c90,c99,cpp14},py{35,36}-{c90,c99,cpp17},py{37,38,39,310}-{c99,cpp17}
skipsdist = True
[testenv]
allowlist_externals = make
commands = make testbuilddir={envdir}/build test-python
setenv=
c90: TEST_USE_CPP=no
c90: CFLAGS=-Werror -Wall -std=c90 -Wno-error=strict-aliasing
c99: TEST_USE_CPP=no
c99: CFLAGS=-Werror -Wall -std=c99 -Wno-error=strict-aliasing
cpp17: TEST_USE_CPP=yes
cpp17: CFLAGS=-Werror -Wall -Wno-error=strict-aliasing -std=c++17
cpp14: TEST_USE_CPP=yes
cpp14: CFLAGS=-Werror -Wall -Wno-error=strict-aliasing -std=c++14
clang: CC=clang
clang: CFLAGS=-Werror -Wall -std=c99