language: csharp
mono: none
dotnet: 2.1.4
dist: trusty

# Install the .NET Core 1.0 runtime as that's what we test against
addons:
  apt:
    sources:
    - sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
      key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
    packages:
    - dotnet-sharedframework-microsoft.netcore.app-1.0.5

script:
  - ./build.sh --diff

env:
- API_REGEX='Google\.Cloud\.[A-L].*'
- API_REGEX='Google\.Cloud\.[M-Z].*'
# List non-Cloud APIs here
- API_REGEX='Google\.LongRunning'
language: csharp
mono: none
dotnet: 2.1.4
dist: trusty

# Install the .NET Core 1.0 runtime as that's what we test against
addons:
  apt:
    sources:
    - sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
      key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
    packages:
    - dotnet-sharedframework-microsoft.netcore.app-1.0.5

script:
  - ./build.sh --diff --regex $API_REGEX

Split the Travis build into multiple partitions
Split the Travis build into multiple partitions

- Cloud APIs beginning with A-L
- Cloud APIs beginning with M-Z
- Non-Cloud APIs

This can be tweaked over time as we wish
