This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #188 from vimeo/circle-ci-upgrade
Updates VimeoUpload to support Circle CI 2.0
- Loading branch information
Showing
2 changed files
with
57 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file was deleted.
Oops, something went wrong.