aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@users.noreply.github.com>2018-01-04 13:04:31 -0500
committerGitHub <noreply@github.com>2018-01-04 13:04:31 -0500
commit9cee677ce40d2412afcb9aa43244ccbe68b772a5 (patch)
tree4b8a61185320cc272b893d85a51aef4d65a19af1 /.travis.yml
parenta5014476f0c49c966e4ac602469cddefc7ed486d (diff)
downloadgoogletest-9cee677ce40d2412afcb9aa43244ccbe68b772a5.tar.gz
googletest-9cee677ce40d2412afcb9aa43244ccbe68b772a5.tar.bz2
googletest-9cee677ce40d2412afcb9aa43244ccbe68b772a5.zip
Optimize build matrix (#1)
Disable expensive builds on pull requests.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 95f8dff1..8142575c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -38,15 +38,19 @@ matrix:
- os: osx
compiler: gcc
env: BUILD_TYPE=Debug VERBOSE=1
+ if: event != pull_request
- os: osx
compiler: gcc
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
+ if: event != pull_request
- os: osx
compiler: clang
env: BUILD_TYPE=Debug VERBOSE=1
+ if: event != pull_request
- os: osx
compiler: clang
env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
+ if: event != pull_request
# These are the install and build (script) phases for the most common entries in the matrix. They could be included
# in each entry in the matrix, but that is just repetitive.