Skip to content

Commit

Permalink
[2.7] Combine the C++ header CI build into the main C build (GH-697) (#…
Browse files Browse the repository at this point in the history
…706)

This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
(cherry picked from commit 993d4b3)
  • Loading branch information
brettcannon committed Mar 17, 2017
1 parent 1aa1803 commit a5f8165
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .travis.yml
Expand Up @@ -38,15 +38,6 @@ matrix:
script:
- make html SPHINXOPTS="-q"
- make check
- os: linux
language: cpp
compiler: clang
env:
- TESTING="C++ header compatibility"
before_script:
- ./configure
script:
- echo '#include "Python.h"' > test.cc && $CXX -c test.cc -o /dev/null -I ./Include -I .

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

notifications:
email: false
Expand Down

0 comments on commit a5f8165

Please sign in to comment.