PowerShell/.travis.yml
Andrew Schwartzmeyer 1a8b4e94e8 Clone 1000 commits on Travis CI (#2124)
The previous failure we saw was because the most recent annotated tag
did not exist in the previous 50 commits. In my experience we've gone
about ~300 commits between tags, so I believe 1000 to be safe, but know
100 will not be.
2016-08-29 19:26:15 -07:00

25 lines
363 B
YAML

language: cpp
branches:
only:
- master
- /^test.*$/
git:
depth: 1000
os:
- linux
sudo: required
dist: trusty
addons:
artifacts:
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
install:
- (cd tools && ./download.sh)
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm use 2.2.1; fi # Default 2.0.0 Ruby is buggy
script: ./tools/travis.sh