travis: Only run lint job for master branch/PRs

This commit is contained in:
James McCoy 2019-01-01 09:15:51 -05:00
parent 4dd3fc4ca9
commit 57e0a578f0
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -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