Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #188 from vimeo/circle-ci-upgrade
Browse files Browse the repository at this point in the history
Updates VimeoUpload to support Circle CI 2.0
  • Loading branch information
jasonhawkins authored Aug 28, 2018
2 parents 139922e + 4140a41 commit 6134842
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 13 deletions.
57 changes: 57 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
version: 2

jobs:
build-and-test:
environment:
BUNDLE_PATH: vendor/bundle
FL_OUTPUT_DIR: output
macos:
xcode: "9.4.1"
working_directory: ~/VimeoUpload
shell: /bin/bash --login -o pipefail

steps:
- checkout

- restore_cache:
key: v1-gems-{{ checksum "Gemfile.lock" }}

- run:
name: Set Ruby version
command: echo "ruby-2.4" > ~/.ruby-version

- run:
name: Install bundler dependencies
command: bundle install --path vendor/bundle

- run:
name: Build and run VimeoUpload-iOS tests
command: bundle exec fastlane scan
environment:
SCAN_DEVICE: iPhone 8
SCAN_SCHEME: VimeoUpload-iOS

- run:
name: Build and run VimeoUpload-iOS-OldUpload tests
command: bundle exec fastlane scan
environment:
SCAN_DEVICE: iPhone 8
SCAN_SCHEME: VimeoUpload-iOS-OldUpload

- save_cache:
paths:
- vendor/bundle
key: v1-gems-{{ checksum "Gemfile.lock" }}

- store_artifacts:
path: output

- store_test_results:
path: output/scan

workflows:
version: 2
build:
jobs:
- build-and-test

13 changes: 0 additions & 13 deletions circle.yml

This file was deleted.

0 comments on commit 6134842

Please sign in to comment.