config.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. version: 2
  2. jobs:
  3. build:
  4. macos:
  5. xcode: "9.3.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: libvlc-{{ checksum "compileAndBuildVLCKit.sh" }}
  21. - run:
  22. name: Build VLCKit
  23. command: |
  24. rake build:vlckit:ios
  25. - save_cache:
  26. key: libvlc-{{ checksum "compileAndBuildVLCKit.sh" }}
  27. paths:
  28. - build
  29. - libvlc
  30. - Resources
  31. - run:
  32. name: Run Tests
  33. command: |
  34. rake test:ios
  35. - run:
  36. name: Generate Coverage Reports
  37. command: |
  38. rake codecov:ios
  39. - store_artifacts:
  40. path: Tests/Coverage
  41. destination: Coverage