.travis.yml 585 B

1234567891011121314
  1. # references:
  2. # * https://www.objc.io/issues/6-build-tools/travis-ci/
  3. # * https://github.com/supermarin/xcpretty#usage
  4. osx_image: xcode7.3
  5. language: objective-c
  6. # cache: cocoapods
  7. # podfile: Example/Podfile
  8. # before_install:
  9. # - gem install cocoapods # Since Travis is not always on latest version
  10. # - pod install --project-directory=Example
  11. script:
  12. - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/LenzCameraNativeModuleForRN.xcworkspace -scheme LenzCameraNativeModuleForRN-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
  13. - pod lib lint