Optimize build matrix (#1)

Disable expensive builds on pull requests.
This commit is contained in:
Carlos O'Ryan
2018-01-04 13:04:31 -05:00
committed by GitHub
parent a5014476f0
commit 9cee677ce4
2 changed files with 23 additions and 1 deletions

View File

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