From 57e0a578f027fed99c64c1f3c881e5f59e56a8d6 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 1 Jan 2019 09:15:51 -0500 Subject: [PATCH] travis: Only run lint job for master branch/PRs --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 93caf9ef75..c704d29f10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,7 +74,8 @@ jobs: - os: osx compiler: gcc osx_image: xcode9.4 # macOS 10.13 - - os: linux + - if: branch = master + os: linux env: CI_TARGET=lint - stage: Flaky builds os: linux