diff --git a/.travis.yml b/.travis.yml index 7bbf013..b48bc51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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