* Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * Update .travis.yml * update fastlane settings * nit * fix tvos * Update AFTestCase.m * revert timeout * Update AFUIWebViewTests.m * Update .env.ios12_xcode10
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
language: objective-c
|
|
osx_image: xcode11
|
|
sudo: false
|
|
env:
|
|
global:
|
|
- LC_CTYPE=en_US.UTF-8
|
|
- LANG=en_US.UTF-8
|
|
- LANGUAGE=en_US.UTF-8
|
|
- FASTLANE_LANE=ci_commit
|
|
matrix:
|
|
include:
|
|
- osx_image: xcode11
|
|
env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
|
|
- osx_image: xcode11
|
|
env: FASTLANE_ENV=ios13_xcode11
|
|
- osx_image: xcode11
|
|
env: FASTLANE_ENV=tvos13_xcode11
|
|
- osx_image: xcode11
|
|
env: FASTLANE_ENV=osx
|
|
- osx_image: xcode10
|
|
env: FASTLANE_ENV=ios12_xcode10
|
|
- osx_image: xcode9.4
|
|
env: FASTLANE_ENV=ios11_xcode94
|
|
- osx_image: xcode9.3
|
|
env: FASTLANE_ENV=ios11_xcode93
|
|
- osx_image: xcode9.2
|
|
env: FASTLANE_ENV=ios11_xcode92
|
|
- osx_image: xcode9.1
|
|
env: FASTLANE_ENV=ios11_xcode91
|
|
- osx_image: xcode9
|
|
env: FASTLANE_ENV=ios11_xcode9
|
|
before_install:
|
|
- gem install fastlane --no-document --quiet
|
|
- gem install cocoapods --no-document --quiet
|
|
script:
|
|
- set -o pipefail
|
|
- fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
|
|
- fastlane $FASTLANE_LANE configuration:Release --env $FASTLANE_ENV
|
|
after_success:
|
|
- if [ "$FASTLANE_LANE" == "code_coverage" ]; then
|
|
bash <(curl -s https://codecov.io/bash);
|
|
fi
|
|
after_failure:
|
|
- cat -n ~/Library/Logs/scan/*
|
|
- cat -n $TMPDIR/com.apple.dt.XCTest-status/Session*.log
|
|
- cat -n ~/Library/Logs/DiagnosticReports/xctest*.crash
|
|
# deploy:
|
|
# provider: script
|
|
# script: fastlane complete_framework_release --env deploy
|
|
# on:
|
|
# tags: true
|