]> granicus.if.org Git - python/commitdiff
[2.7] Fix Travis config to reinstate test build (GH-1879) (GH-1891)
authorBrett Cannon <brettcannon@users.noreply.github.com>
Wed, 31 May 2017 22:53:30 +0000 (15:53 -0700)
committerGitHub <noreply@github.com>
Wed, 31 May 2017 22:53:30 +0000 (15:53 -0700)
(cherry picked from commit a5aa72ac789052411797c6f079ffff0a9fdbf82c)

.travis.yml

index df66713eb15b31ee9bcb3c5fbde1572f6bb28fd6..209c8a63fa4b7afc222ba5535bdf05129e6383d8 100644 (file)
@@ -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