File tree 1 file changed +4
-1
lines changed 1 file changed +4
-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.
@@ -124,12 +126,13 @@ matrix:
124
126
# TODO: remove next before_install, install and script clause when the wheels become available
125
127
before_install :
126
128
- pyenv global $(pyenv whence 2to3) # activate all python versions
127
- - PY_CMD=python3
129
+ - PY_CMD=python3.8
128
130
- $PY_CMD -m pip install --user --upgrade pip wheel setuptools
129
131
install :
130
132
- $PY_CMD -m pip install --user --upgrade pytest
131
133
script :
132
134
- |
135
+ set -ex
133
136
# Barebones build
134
137
cmake -DCMAKE_BUILD_TYPE=Debug -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON -DPYTHON_EXECUTABLE=$(which $PY_CMD) .
135
138
make pytest -j 2 && make cpptest -j 2
You can’t perform that action at this time.
0 commit comments