File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,14 @@ matrix:
27
27
# - $PY_CMD -m sphinx -W -b html docs docs/.build
28
28
- |
29
29
# Make sure setup.py distributes and installs all the headers
30
+ set -ex
30
31
$PY_CMD setup.py sdist
31
32
$PY_CMD -m pip install --user -U ./dist/*
32
33
installed=$($PY_CMD -c "import pybind11; print(pybind11.get_include(True) + '/pybind11')")
33
34
diff -rq $installed ./include/pybind11
34
35
- |
35
36
# Barebones build
37
+ set -ex
36
38
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
37
39
make pytest -j 2 && make cpptest -j 2
38
40
# The following are regular test configurations, including optional dependencies.
@@ -119,17 +121,19 @@ matrix:
119
121
packages :
120
122
- g++-7
121
123
- python3.8-dev
124
+ - python3.8-distutils
122
125
- python3.8-venv
123
126
# Currently there is no numpy/scipy wheels available for python3.8
124
127
# TODO: remove next before_install, install and script clause when the wheels become available
125
128
before_install :
126
129
- pyenv global $(pyenv whence 2to3) # activate all python versions
127
- - PY_CMD=python3
130
+ - PY_CMD=python3.8
128
131
- $PY_CMD -m pip install --user --upgrade pip wheel setuptools
129
132
install :
130
133
- $PY_CMD -m pip install --user --upgrade pytest
131
134
script :
132
135
- |
136
+ set -ex
133
137
# Barebones build
134
138
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
135
139
make pytest -j 2 && make cpptest -j 2
You can’t perform that action at this time.
0 commit comments