language: cpp

os:
  - linux
  - osx
sudo: required
dist: trusty
osx_image: xcode8

cache:
  directories:
    - $HOME/.dotnet
    - $HOME/.nuget

addons:
  artifacts:
    s3_region: "us-west-2"
    paths: $(ls powershell*{deb,pkg} | tr "\n" ":")

git:
  submodules: false

install:
  - git config --global url.git@github.com:.insteadOf https://github.com/
  - git submodule update --init
  - (cd tools && ./download.sh)

script: ./tools/travis.sh

language: cpp

branches:
  only:
    - master
    - /^test.*$/

os:
  - linux
  - osx
sudo: required
dist: trusty
osx_image: xcode8

cache:
  directories:
    - $HOME/.dotnet
    - $HOME/.nuget

addons:
  artifacts:
    s3_region: "us-west-2"
    paths: $(ls powershell*{deb,pkg} | tr "\n" ":")

git:
  submodules: false

install:
  - git config --global url.git@github.com:.insteadOf https://github.com/
  - git submodule update --init
  - (cd tools && ./download.sh)

script: ./tools/travis.sh

Whitelist master and test branches for Travis CI
Whitelist master and test branches for Travis CI

Only pull requests, merges to master, and branches starting with the
prefix "test" will trigger Travis CI builds.
