Skip to content

Commit

Permalink
.travis.yml: Update Xcode versions. Print logs if package.sh fails.
Browse files Browse the repository at this point in the history
Travis CI no longer supports building with Xcode 8, 8.1 or 8.2.
  • Loading branch information
kyleneideck committed Dec 27, 2017
1 parent b693a8a commit e83d07f
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,22 @@ language: objective-c
matrix:
include:
- os: osx
osx_image: xcode9.1
osx_image: xcode9.2
xcode_sdk: macosx10.13
sudo: required
env: DEPLOY=true
- os: osx
osx_image: xcode9
osx_image: xcode9.1
xcode_sdk: macosx10.13
sudo: required
- os: osx
osx_image: xcode8.3
xcode_sdk: macosx10.12
sudo: required
- os: osx
osx_image: xcode8.2
xcode_sdk: macosx10.12
osx_image: xcode9
xcode_sdk: macosx10.13
sudo: required
- os: osx
osx_image: xcode8.1
osx_image: xcode8.3
xcode_sdk: macosx10.12
sudo: required
- os: osx
osx_image: xcode8
xcode_sdk: macosx10.11
sudo: required
- os: osx
osx_image: xcode7.3
xcode_sdk: macosx10.11
Expand Down Expand Up @@ -77,8 +69,8 @@ script:
- if ls -la "/Library/LaunchDaemons/com.bearisdriving.BGM.XPCHelper.plist"; then false; fi
# Return early if we're not testing packaging on this OS X version.
- if [[ "$PACKAGE" == "false" ]]; then exit 0; fi
# Build the .pkg installer.
- ./package.sh
# Build the .pkg installer. (Print the logs if it fails.)
- ./package.sh || (cat build_and_install.log && false)
# Install the .pkg.
- sudo installer -pkg Background-Music-*/BackgroundMusic-*.pkg -target / -verbose -dumplog
# Check the BGM dirs and files were installed again.
Expand Down

0 comments on commit e83d07f

Please sign in to comment.