language: c dist: trusty sudo: false group: beta # To cache doc-building dependencies. cache: pip branches: only: - master - /^\d\.\d$/ os: - linux # macOS builds are disabled as the machines are under-provisioned on Travis, # adding up to an extra hour completing a full CI run. #- osx compiler: - clang - gcc env: - TESTING=cpython matrix: fast_finish: true allow_failures: - env: - TESTING=coverage include: - os: linux language: python python: 3.5 env: - TESTING=docs before_script: - cd Doc - make venv script: - make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q" - os: linux language: c compiler: clang env: - TESTING=coverage before_script: - | if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)|(^Misc)/' then echo "Only docs were updated, stopping build process." exit fi ./configure make -s -j4 # Need a venv that can parse covered code. ./python -m venv venv ./venv/bin/python -m pip install -U coverage script: # Skip tests that re-run the entire test suite. - ./venv/bin/python -m coverage run --pylib -m test -uall -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn after_script: # Probably should be after_success once test suite updated to run under coverage.py. # Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files. - source ./venv/bin/activate - bash <(curl -s https://codecov.io/bash) - 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: - | if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)|(^Misc)/' then echo "Only docs were updated, stopping build process." exit fi ./configure --with-pydebug make -j4 script: # `-r -w` implicitly provided through `make buildbottest`. - make buildbottest TESTOPTS="-j4" notifications: email: false irc: channels: # This is set to a secure variable to prevent forks from notifying the # IRC channel whenever they fail a build. This can be removed when travis # implements https://github.com/travis-ci/travis-ci/issues/1094. # The actual value here is: irc.freenode.net#python-dev - secure: "s7kAkpcom2yUJ8XqyjFI0obJmhAGrn1xmoivdaPdgBIA++X47TBp1x4pgDsbEsoalef7bEwa4l07KdT4qa+DOd/c4QxaWom7fbN3BuLVsZuVfODnl79+gYq/TAbGfyH+yDs18DXrUfPgwD7C5aW32ugsqAOd4iWzfGJQ5OrOZzqzGjYdYQUEkJFXgxDEIb4aHvxNDWGO3Po9uKISrhb5saQ0l776yLo1Ur7M4oxl8RTbCdgX0vf5TzPg52BgvZpOgt3DHOUYPeiJLKNjAE6ibg0U95sEvMfHX77nz4aFY4/3UI6FFaRla34rZ+mYKrn0TdxOhera1QOgPmM6HzdO4K44FpfK1DS0Xxk9U9/uApq+cG0bU3W+cVUHDBe5+90lpRBAXHeHCgT7TI8gec614aiT8lEr3+yH8OBRYGzkjNK8E2LJZ/SxnVxDe7aLF6AWcoWLfS6/ziAIBFQ5Nc4U72CT8fGVSkl8ywPiRlvixKdvTODMSZo0jMqlfZSNaAPTsNRx4wu5Uis4qekwe32Fz4aB6KGpsuuVjBi+H6v0RKxNJNGY3JKDiEH2TK0UE2auJ5GvLW48aUVFcQMB7euCWYXlSWVRHh3WLU8QXF29Dw4JduRZqUpOdRgMHU79UHRq+mkE0jAS/nBcS6CvsmxCpTSrfVYuMOu32yt18QQoTyU=" on_success: change on_failure: always skip_join: true
Mode | Type | Size | Ref | File |
---|---|---|---|---|
100644 | blob | 582 | 58471109208922c9ee8c4b06135725f03ed16814 | .bzrignore |
100644 | blob | 545 | fcf9df6a7a698e4bd87ed0c1cc4ed70bad8b9887 | .codecov.yml |
100644 | blob | 255 | 82694d81f276b2c59a0a93a4f678e1852e625052 | .gitattributes |
040000 | tree | - | 206d06f9736ae5b4b403ca9ee21b5f69f5da871c | .github |
100644 | blob | 1397 | 8b54c2c4861389f6e8bbfbab5ae0c8b6bbbad041 | .gitignore |
100644 | blob | 1060 | eb19a6c88d28d05588db25d21525ee2e19c22666 | .hgeol |
100644 | blob | 1358 | 68c607f2e8d420c8dfd0748efcd3b3b5447def16 | .hgignore |
100644 | blob | 8917 | 8f51c2ced49aed46d8b480280b630ea4264c57c3 | .hgtags |
100644 | blob | 1328 | b9be0f11fdb829f16e9de1921257eb7ee45fac57 | .hgtouch |
100644 | blob | 269 | 3b2e93150b3d94aa37a1986be82a387435ea6dbb | .mention-bot |
100644 | blob | 3659 | 6c0b73ddc211a47e8d852e93508fe46d12574d11 | .travis.yml |
040000 | tree | - | d197e589290dd9463d304622871aa089a4c1d995 | Doc |
040000 | tree | - | 5dd6fc9dc09374506491247872c868eca111e256 | Grammar |
040000 | tree | - | 5ee3d373710169d3460c59ae85e27e34f8469f39 | Include |
100644 | blob | 12773 | f5d0b39a0cdddb91a31a537052b7d8d31a4aa79f | LICENSE |
040000 | tree | - | c975137867661c4b0401f607a80c3e3a6febefc3 | Lib |
040000 | tree | - | 1db7415d4375525eaf8d05ddd5b088de3321041c | Mac |
100644 | blob | 58975 | 3da663762972ad28fa2c258fbec9c9bccc5dd1d4 | Makefile.pre.in |
040000 | tree | - | 9d2e31d524035ed2c59a34412d1843c2828cc481 | Misc |
040000 | tree | - | 49531cb0e7cd8f70efce9e36c9b40f39b16d8f46 | Modules |
040000 | tree | - | 41ac061a1bcb979ba9a5732e4ed9a6ac5a064ccc | Objects |
040000 | tree | - | 4ae710f2a2ebde12551321c59748dc658c00a47d | PC |
040000 | tree | - | 8b827c06bc7d5bd16ae5804bbbf2bf0de3a5964b | PCbuild |
040000 | tree | - | 33139fe0ff83b05ad3f6f5c5b33b84be0f98179a | Parser |
040000 | tree | - | 3efbcc80237ab7c3d4eb5bf31c893ca6de88e747 | Programs |
040000 | tree | - | 280dd39e0adc4ee0b89748a8dfba3ecb81f48a40 | Python |
100644 | blob | 9325 | 9c95815d9e9d91b8dae8e05d8bbc696fe19f796b | README.rst |
040000 | tree | - | b4fbbeca4cf73e69ea6d6c881d4a362a41c39d9a | Tools |
100644 | blob | 10910 | 9a9cc557281571f0d46c506c0e9d1b9fb25e063c | aclocal.m4 |
100755 | blob | 42856 | 1f5c50c0d1529d50b94dc3533ca72a47f0fa5849 | config.guess |
100755 | blob | 35740 | d654d03cdcd2226a5d7584890717e674a8122f4f | config.sub |
100755 | blob | 485286 | 67cd4f4fa37f290573e610cef93f42d826722b09 | configure |
100644 | blob | 160664 | 6e78bb64d7e95192b2d9f9259fcee6ae7428855b | configure.ac |
100755 | blob | 7122 | 0ec27bcd488da5cad6ead13d70accbdbc40d31ef | install-sh |
100644 | blob | 41449 | 21354a5cb84fe5530dd0d460561ba95569abe1d4 | pyconfig.h.in |
100644 | blob | 98743 | 3b3d097454211c790c1602d759918bb65a622c97 | setup.py |