Skip to content

Commit 49fc153

Browse files
authored
Combine the C++ header CI build into the main C build (GH-697) (GH-704)
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster. (cherry picked from commit 993d4b3)
1 parent 46e81d3 commit 49fc153

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
@@ -64,15 +64,6 @@ matrix:
6464
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
6565
- source ./venv/bin/activate
6666
- bash <(curl -s https://codecov.io/bash)
67-
- os: linux
68-
language: cpp
69-
compiler: clang
70-
env:
71-
- TESTING="C++ header compatibility"
72-
before_script:
73-
- ./configure
74-
script:
75-
- echo '#include "Python.h"' > test.cc && $CXX -c test.cc -o /dev/null -I ./Include -I .
7667

7768
# Travis provides only 2 cores, so don't overdue the parallelism and waste memory.
7869
before_script:
@@ -88,6 +79,8 @@ before_script:
8879
script:
8980
# `-r -w` implicitly provided through `make buildbottest`.
9081
- make buildbottest TESTOPTS="-j4"
82+
# Test for C++ header compatibility.
83+
- echo '#include "Python.h"' > test.cc && $CXX -c test.cc -o /dev/null -I ./Include -I .
9184

9285
notifications:
9386
email: false

0 commit comments

Comments
 (0)