-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
35 lines (30 loc) · 1.74 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
osx_image: xcode9
xcode_project: MacPassHTTP.xcodeproj
xcode_scheme: MacPassHTTP
language: objective-c
before_install:
- git clone --recursive --depth=50 --branch=continuous https://github.com/mstarke/MacPass.git "${TRAVIS_BUILD_DIR}/../MacPass"
- cd "${TRAVIS_BUILD_DIR}/../MacPass"
- carthage bootstrap --platform macOS
- cd "${TRAVIS_BUILD_DIR}"
- carthage bootstrap --platform macOS
after_success:
- cd $(readlink ./build/Build/Products/Release/MacPassHTTP.mpplugin)/..
- zip -9ry MacPassHTTP-continuous.zip MacPassHTTP.mpplugin
- cd -
- mv $(readlink ./build/Build/Products/Release/MacPassHTTP.mpplugin)/../MacPassHTTP-continuous.zip .
script: xcodebuild clean && xcodebuild build -configuration release -project MacPassHTTP.xcodeproj -scheme MacPassHTTP CODE_SIGNING_REQUIRED=NO SKIP_INSTALL=YES -derivedDataPath ./build
branches:
only:
- /^(?i:continuous)$/
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: R+lBThm58WA5/Dbh3ZLDi2FLnti/Q++Wfext+llekMk2AiL1/1+aKVpSnHuOqm51zVzhw9PW/HwHIx+HNom7F/CRHQqwFhOPPNkFcFadXxdu/y95jV1HpmEu1n30XO1p29nPfhB5sX9QWqJxcyBlZHrH6MIEMJCEU7mLnh440uBi4BVB7s1msxcNydpyRgNfcLrBFt1RW6IUfJZ8m7vE++kcIiFmNOq+bl9xgNX2EnA2sKL241V+EHSEyttLeLGnknWlSsDbca1dgnd7ix9ZkZgu4AbsxFE8r44I/6xUtjppCuLqubUYtTcnWqti/+FT29QP1pNMGXb76SdIQ2HEPfxChJndM9ppAb8vWcLxowaEkfCfzCG6vxGO373VZohSSIrXHvW8086lZUAvYplYmLiUkocj/+0z1j7e4Akb7wizieg4dTEx0QQcJsnm2viDIpyIHuMgRJZWJRn7hW4QnGVRclKIqSTKvOo586dzWcaB7QoKMikL7ohlD5Q7WW4cLmMPsl+OzkIJFmRRmo0dXR/ov9I5g259OAzZQ9OmRpX3gkGtEF2WgnhurC73s/YVa9xdodAfz4YsY0aloTxlIhDWt5DP5Sq9uz735A8znmY+zdjtZPcUf4eMVrPLRe5dn9TL+aMBjxw+RM3X44rnMm1n2NQA+Juqo087j+jPrAQ=
file: MacPassHTTP-continuous.zip
overwrite: true
on:
tags: true
repo: MacPass/MacPassHTTP
branch: continuous