Skip to content

Commit

Permalink
Fix Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
swordray committed Feb 12, 2018
1 parent 9dc0627 commit 2b2a5bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

osx_image: xcode9.2
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/JXWebViewController.xcworkspace -scheme JXWebViewController-Example -sdk iphonesimulator11.0 ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/JXWebViewController.xcworkspace -scheme JXWebViewController-Example -sdk iphonesimulator11.2 -destination 'platform=iOS Simulator,name=iPhone X,OS=11.2' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

0 comments on commit 2b2a5bf

Please sign in to comment.