config.yml 957 B

12345678910111213141516171819202122232425262728293031323334
  1. version: 2
  2. jobs:
  3. build:
  4. macos:
  5. xcode: "10.2.0"
  6. environment:
  7. LC_ALL: en_US.UTF-8
  8. LANG: en_US.UTF-8
  9. shell: /bin/bash --login -eo pipefail
  10. steps:
  11. - checkout
  12. - restore_cache:
  13. key: v1-gems-{{ checksum "Gemfile.lock" }}
  14. - run: bundle check || bundle install --path .bundle
  15. - save_cache:
  16. key: v1-gems-{{ checksum "Gemfile.lock" }}
  17. paths:
  18. - .bundle
  19. - restore_cache:
  20. key: v2-pods-{{ checksum "Podfile" }}
  21. - run:
  22. name: Install CocoaPods
  23. command: |
  24. [ -d "Pods" ] || (curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf; pod install)
  25. - save_cache:
  26. key: v2-pods-{{ checksum "Podfile" }}
  27. paths:
  28. - Pods
  29. - Podfile.lock
  30. - run: bundle exec fastlane ci
  31. - store_artifacts:
  32. path: /Users/distiller/Library/Logs/gym