27530c403c
GitHub's API is throttled to 60 requests per hour per IP address when for non-authenticated calls, which was causing severe CI flakiness. While this adds another set of URLs to update for each release, the alternative was adding an OAuth token and maintaining its ownership. Moreover, this code is simpler than the previous API parsing.
24 lines
353 B
YAML
24 lines
353 B
YAML
language: cpp
|
|
|
|
git:
|
|
depth: 1000
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
sudo: required
|
|
dist: trusty
|
|
osx_image: xcode7.3
|
|
|
|
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
|