MacPass/.travis.yml

51 lines
2.2 KiB
YAML
Raw Normal View History

2020-12-03 00:42:36 +08:00
osx_image: xcode12.2
2017-05-26 19:41:02 +08:00
xcode_project: MacPass.xcodeproj
xcode_scheme: MacPass
2015-12-23 20:37:49 +08:00
language: objective-c
2017-05-26 19:41:02 +08:00
2015-12-23 20:37:49 +08:00
before_install:
- carthage bootstrap --platform macOS
- gem install xcpretty --no-document --quiet
2017-05-26 19:41:02 +08:00
after_success:
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage de
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage en
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage es
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage fr
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage it
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage nl
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage ru
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage sv-SE
- xcodebuild -project MacPass.xcodeproj -exportLocalizations -localizationPath Localisations -exportLanguage zh-Hans
2019-08-30 03:06:16 +08:00
- zip -9ry Localisations.zip Localisations
- cd ./build/Build/Products/Release
- zip -9ry MacPass-continuous.zip MacPass.app
- shasum -a 256 MacPass-continuous.zip > MacPass-continuous.zip.sha256
- cd -
- mv ./build/Build/Products/Release/MacPass-continuous.zip .
- mv ./build/Build/Products/Release/MacPass-continuous.zip.sha256 .
2017-05-29 22:49:06 +08:00
2017-11-28 21:00:51 +08:00
script: |
set -o pipefail
xcodebuild clean
xcodebuild build -configuration release -project MacPass.xcodeproj -scheme MacPass CODE_SIGNING_REQUIRED=NO -derivedDataPath ./build | xcpretty -c
branches:
2017-05-30 05:04:57 +08:00
only:
- /^(?i:continuous)$/
2017-05-30 05:01:28 +08:00
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: AEb7fgi29S3aXFt5bXz+lq1KHISumny6bf4j06JBC5gUrSs+dW0/tmVFq68XRAqigeOQU31wwv20f7OHiy+GRYDXM2xBsX9ZBQ2IilnaXlDy/mPsNcJJJsZ2gyodi3KnU0rZtTb93me2YyU86H4Na/gtaZZUKjLwCFtGGziExD8=
file:
- Localisations.zip
- MacPass-continuous.zip
- MacPass-continuous.zip.sha256
overwrite: true
2017-05-30 05:01:28 +08:00
on:
tags: true
repo: MacPass/MacPass
branch: continuous