config.yml 957 Bytes
Newer Older
1 2 3 4 5
version: 2

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