Skip to content

Commit a5f8165

Browse files
authored
[2.7] Combine the C++ header CI build into the main C build (GH-697) (#706)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster. (cherry picked from commit 993d4b3)
1 parent 1aa1803 commit a5f8165

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.travis.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,6 @@ matrix:
3838
script:
3939
- make html SPHINXOPTS="-q"
4040
- make check
41-
- os: linux
42-
language: cpp
43-
compiler: clang
44-
env:
45-
- TESTING="C++ header compatibility"
46-
before_script:
47-
- ./configure
48-
script:
49-
- echo '#include "Python.h"' > test.cc && $CXX -c test.cc -o /dev/null -I ./Include -I .
5041

5142
# Travis provides only 2 cores, so don't overdue the parallelism and waste memory.
5243
before_script:
@@ -62,6 +53,8 @@ before_script:
6253
script:
6354
# `-r -w` implicitly provided through `make buildbottest`.
6455
- make buildbottest TESTOPTS="-j4"
56+
# Test for C++ header compatibility.
57+
- echo '#include "Python.h"' > test.cc && $CXX -c test.cc -o /dev/null -I ./Include -I .
6558

6659
notifications:
6760
email: false

0 commit comments

Comments
 (0)