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.
24 lines
363 B
YAML
24 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
|