.travis.yml 963 B

1234567891011121314151617181920212223
  1. language: objective-c
  2. osx_image: xcode7.3
  3. before_install:
  4. - export LANG=en_US.UTF-8
  5. # - brew update
  6. # - brew install carthage
  7. - gem install cocoapods --no-rdoc --no-ri --no-document --quiet
  8. - pod install --project-directory=Example
  9. script:
  10. - set -o pipefail && xcodebuild test -workspace Example/EARestrictedScrollView.xcworkspace -scheme EARestrictedScrollView-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.3' ONLY_ACTIVE_ARCH=NO | xcpretty
  11. - pod lib lint
  12. before_deploy:
  13. - carthage build --no-skip-current
  14. - carthage archive EARestrictedScrollView
  15. deploy:
  16. provider: releases
  17. api_key:
  18. secure: LnOWVVBpgByOSqHV8jTmtEP1M1WFC/79O9YLnnR1DzaiFGseM48ocXGTBKAn1t6CeGYO7NzjbpolWjYOs2T4IOFNLrfMLX7eeXE1nBfXkcrV2iAe8kN8ga9UvqI1MNWu8ryDQGoiQ2KY69eGxubm9CrKeKP/2AFNxichdo8U5jI=
  19. file: EARestrictedScrollView.framework.zip
  20. skip_cleanup: true
  21. on:
  22. repo: ealeksandrov/EARestrictedScrollView
  23. tags: true