-
Notifications
You must be signed in to change notification settings - Fork 268
/
.travis.yml
29 lines (29 loc) · 1.05 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
language: objective-c
osx_image: xcode8.0
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
matrix:
include:
# - osx_image: xcode8
# env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
# - osx_image: xcode8
# env: FASTLANE_ENV=ios10_xcode8
#- osx_image: xcode7.3
# env: FASTLANE_ENV=ios93_xcode73
#- osx_image: xcode7.3
# env: FASTLANE_ENV=ios81_xcode73
before_install:
- rvm install ruby-2.2.2
- gem install cocoapods
- gem install xcpretty -N
script:
- set -o pipefail
- xcodebuild clean build -project JJException.xcodeproj -scheme JJException -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration DEBUG
- xcodebuild clean build test -project JJException.xcodeproj -scheme JJException -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -destination "platform=iOS Simulator,name=iPad Air 2,OS=11.4" -configuration Debug GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure: