mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-14 00:17:15 +00:00
.travis.yml: Update Xcode versions. Print logs if package.sh fails.
Travis CI no longer supports building with Xcode 8, 8.1 or 8.2.
This commit is contained in:
parent
b693a8af1e
commit
e83d07f00b
1 changed files with 7 additions and 15 deletions
22
.travis.yml
22
.travis.yml
|
@ -2,10 +2,14 @@ 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.1
|
||||
xcode_sdk: macosx10.13
|
||||
sudo: required
|
||||
- os: osx
|
||||
osx_image: xcode9
|
||||
xcode_sdk: macosx10.13
|
||||
|
@ -14,18 +18,6 @@ matrix:
|
|||
osx_image: xcode8.3
|
||||
xcode_sdk: macosx10.12
|
||||
sudo: required
|
||||
- os: osx
|
||||
osx_image: xcode8.2
|
||||
xcode_sdk: macosx10.12
|
||||
sudo: required
|
||||
- os: osx
|
||||
osx_image: xcode8.1
|
||||
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
|
||||
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue