Use Ruby 2.2.1 explicitly on Travis CI OS X

This commit is contained in:
Andrew Schwartzmeyer 2016-08-04 13:33:50 -07:00
parent 3143ccf97c
commit 5f396629f7
2 changed files with 2 additions and 1 deletions

View File

@ -24,5 +24,6 @@ install:
- git config --global url.git@github.com:.insteadOf https://github.com/
- git submodule update --init
- (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

View File

@ -1,7 +1,7 @@
set -x
ulimit -n 4096
# Only build packages for branches, not pull requests
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -CrossGen; Start-PSPackage; Start-PSPester; Start-PSxUnit"
else
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild -CrossGen; Start-PSPester; Start-PSxUnit"