-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (38 loc) · 1.46 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
36
37
38
osx_image: xcode9.4
language: objective-c
podfile: Example/Podfile
rvm: 2.3.0
env:
- [email protected]:tevelee/Funky.git
before_install:
- rvm install 2.3.0
- rvm use 2.3.0
- brew update
- brew outdated carthage || brew upgrade carthage
before_script:
- bundle exec pod repo update --silent
- bundle exec pod install --project-directory=Example --verbose
- carthage bootstrap --project-directory Example --verbose
script:
- rm -rf ./build || true
- set -o pipefail
- xcodebuild clean build -workspace Example/Funky.xcworkspace -scheme iOS-Example
-sdk iphonesimulator11.4 -configuration Release | bundle exec xcpretty --color
- xcodebuild test -workspace Example/Funky.xcworkspace -scheme iOS-Example -sdk iphonesimulator11.4
-destination 'platform=iOS Simulator,name=iPhone 8,OS=11.4' ONLY_ACTIVE_ARCH=NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | bundle exec xcpretty --color
--color
- travis_wait 30 bundle exec pod lib lint
- carthage build --no-skip-current --project-directory Example --verbose
- danger || true
- sleep 3
after_success:
- openssl aes-256-cbc -K $encrypted_2620db1da8a0_key -iv $encrypted_2620db1da8a0_iv -in github_rsa.enc -out github_rsa -d;
chmod 600 github_rsa;
ssh-add github_rsa;
ssh -o StrictHostKeyChecking=no [email protected];
git config --global user.email "[email protected]";
git config --global user.name "Travis-CI";
rake docs:all || true
- bash <(curl -s https://codecov.io/bash)
- sleep 3