From: Brett Cannon Date: Wed, 31 May 2017 22:53:30 +0000 (-0700) Subject: [2.7] Fix Travis config to reinstate test build (GH-1879) (GH-1891) X-Git-Tag: v2.7.14rc1~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32e220f1a28cce4f39823594fc348dbdebcce2d9;p=python [2.7] Fix Travis config to reinstate test build (GH-1879) (GH-1891) (cherry picked from commit a5aa72ac789052411797c6f079ffff0a9fdbf82c) --- diff --git a/.travis.yml b/.travis.yml index df66713eb1..209c8a63fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,21 +6,20 @@ group: beta # To cache doc-building dependencies. cache: pip -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. - -compiler: - - clang - # gcc also works, but to keep the # of concurrent builds down, we use one C - # compiler here and the other to run the coverage build. - -env: - - TESTING=cpython +branches: + only: + - master + - /^\d\.\d$/ matrix: include: + - os: linux + language: c + compiler: clang + # gcc also works, but to keep the # of concurrent builds down, we use one C + # compiler here and the other to run the coverage build. + env: + - TESTING=cpython - os: linux language: python python: 2.7