-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
34 lines (32 loc) · 1.47 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
language: objective-c
osx_image: xcode7.2
cache:
- cocoapods
- Carthage
- deploy-env
before_install:
# install dmgbuild here forbuilding DMG, do it here because it got cached
- wget https://bootstrap.pypa.io/get-pip.py
- sudo python get-pip.py
- sudo pip install virtualenv
- virtualenv deploy-env
- deploy-env/bin/pip install dmgbuild
# upgrade xctool
- "brew update"
- "if brew outdated | grep -qx xctool; then brew upgrade xctool; fi"
- "carthage bootstrap --platform Mac"
script: >
xctool
-project Mojito.xcodeproj
-scheme Mojito
build test
before_deploy:
- source deploy-env/bin/activate && ./scripts/archive-build-dmg.sh
deploy:
provider: releases
api-key:
secure: QCMNpaPnwQXA2Q+r8v5fPS58IbYNTHzdvLkYyc+32xfQbPQiZvjDy4GxwS8EDGothwJo8qUXBJsR+Y/97n2oi0APf58jrC6QIvxm3VOT5LbwD49qhdsADW26n4mY8fkSGcmc5jppnlkFzhyBDQD/hiJhmziMkPRCruFYSGSztZiLQBw/64HMHpVGL1u8VBFyvGYoLpP4te8JRldaU5o7Xj6oMqkT/HyEAzZocTqBPUbA57TYcfLGhxDsAfpVI+Ir2Y+7+n6JCtwIjbQXJ6a2gbXhehpNtwC+RITTXATsx1l71S+7K2R9kY23cakBL+gpegb+CwREPFh6B4NMoTz+IRATLDTgLfO3MzGBKUqI9AASjlG4vujpPnuwF3x0PTnf0z83T14JF81ppihCRSTikNbrFRyNrEWuMDE7EhTBkVX4yRiG4ncWEU2jKrmnnsIUIvrbKdQeubEK7p86SNi2RcfD6FXK4bt6MP9ToJwtsDmfQ73wCx9Fo42SOZC0jItn7wwvj0/1GtFRELfVG7TgVbzqJL8YhSQeGd2fPhQ9yjVbDPEvy/O/C8/07meI7IUdQxytASKTXIKpzkio3Yh+CLATEyDcyBI2JqQq4MpgsWv6+gr4xMCmnI4vEeJYyVD2w3C0zsL6bFljSU1pA16rvV8ASqh1DWFo3mqCCaSSPsM=
file: "build/mojito.dmg"
skip_cleanup: true
on:
tags: true