PowerShell/.travis.yml
Andrew Schwartzmeyer 663e2429bc Ignore macOS failures on Travis CI (#2345)
Since the Travis CI OS X infrastructure is incredibly unstable,
we need to let the builds run on a best effort basis,
but not report failure and not hang a result until its finished.

With this setup, the Linux build dictates the success,
completely ignoring OS X.
2016-09-22 15:09:26 -07:00

28 lines
414 B
YAML

language: cpp
git:
depth: 1000
os:
- linux
- osx
sudo: required
dist: trusty
osx_image: xcode7.3
matrix:
allow_failures:
- os: osx
fast_finish: true
addons:
artifacts:
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
install:
- pushd tools
- ./download.sh
- popd
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm use 2.2.1; fi # Default 2.0.0 Ruby is buggy
script: ./tools/travis.sh