From 32e220f1a28cce4f39823594fc348dbdebcce2d9 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 31 May 2017 15:53:30 -0700 Subject: [2.7] Fix Travis config to reinstate test build (GH-1879) (GH-1891) (cherry picked from commit a5aa72ac789052411797c6f079ffff0a9fdbf82c) --- .travis.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index df66713..209c8a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,22 +6,21 @@ 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 env: -- cgit v0.12