forked from MakeAWishFoundation/SwiftyMocky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (23 loc) · 827 Bytes
/
.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
language: objective-c
os: osx
language: generic
sudo: required
dist: trusty
osx_image: xcode9.1
notifications:
#slack: // TODO:
email: false
install:
- if [ `uname` == "Linux" ] ; then
curl -sL https://gist.github.com/kylef/5c0475ff02b7c7671d2a/raw/621ef9b29bbb852fdfd2e10ed147b321d792c1e4/swiftenv-install.sh | bash ;
fi
script:
# - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then bash certs.sh; fi' # certs for macos app
- rake pod_install
- rake sourcery 4.0.2 # workaround - getting prebuilt sourcery version
- rake mock
# - 'if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then fastlane mac test; fi' # unable to run macos tests on CI now - turning off on CI
- fastlane ios test
- fastlane tvos test
after_success:
- sleep 5 # workaround https://github.com/travis-ci/travis-ci/issues/4725