-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
30 lines (30 loc) · 1.69 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
language: objective-c
osx_image: xcode9.3beta
xcode_workspace: MAGE.xcworkspace
xcode_scheme: MAGE
xcode_sdk: iphonesimulator
env:
global:
- IOS11="platform=iOS Simulator,name=iPhone X,OS=11.2"
- IOS10="platform=iOS Simulator,name=iPhone 7,OS=10.3.1"
matrix:
- DESTINATION="$IOS11"
- DESTINATION="$IOS10"
after_success: bundle exec slather
before_install:
- pod repo update
before_script:
- bundle exec pod install --project-directory=.
script:
- set -o pipefail
- echo xcodebuild build test -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME"
-sdk "$TRAVIS_XCODE_SDK" -destination "$DESTINATION"
- xcodebuild build test -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME"
-sdk "$TRAVIS_XCODE_SDK" -destination "$DESTINATION" | xcpretty
notifications:
slack:
rooms:
secure: IDAvcCJz4tY6WznaA8EHoPYSxiRd5WSxZLfbloNdYqq7FXb5hTEiFKcCLxWRKF8ozGVvlujDsARYzI6W2IWW0P2zyupw/xKQTjtItwX2ZD+qXeiBh3H3xTc21yKDXKgssNQc1ctyepcYuEv5pgItQ+nyfn4/GNW6OLNOQyqNxxclqTX0lpUGm/JIk0Jd86OA3F7/lO0N9tqoQgR0qzqZfEqxHJKk0b2NFyB9vY6q+szK7ZFqOAChK5ctV3mp3O+FJqjPZS6bQdqFw88AxHUqonBDH7jkLyD1x3RUg2mzgY18e3aYr/eX3TDnScrnb4DknP1grHCn/BbIfT0MXzxt1l70wR1sQHsjm8XReZakhDhyFm2XAkq26w1LQDsDPcJlcR3pOgm72+iq7DQf63hkmDSGeyEQZW152Q1N8B7RRn1mVGdi7c9820yK04PJvnj+6oHBlXLl+mUTzOKjb4ORvM7Q91HU1I9HeC8Qh1/vQduCao/CiOGoRKgAgsn7rKHF/5nZuyqIlZDFowvtCwO6/ryXugIrCad83Xap2AL7u4/rG2PoWatQKipACSgxsUZWk/wqtom+l0YLMc7Ya1dQ08fPLGSPjCMcWfUShuPL0SNbcmdQb16Tl+cgVxMwDeqXXHzTOBCL1J50KBbW2YcDqyBh1hsnCFmB+EUFvc2jSCE=
template:
- "%{repository_slug}@%{branch} %{result} "
- "Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of %{repository_slug}@%{branch} by %{author} %{result} in %{duration}"