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

Commit

Permalink
Browse files Browse the repository at this point in the history
Convert to Circle CI 2.0. Removed Gemfile.lock from SCM.
  • Loading branch information
jdee committed Oct 18, 2017
1 parent 326da62 commit 3fe6cab
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 259 deletions.
45 changes: 45 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,45 @@
# Ruby CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/ruby:2.4.1

working_directory: ~/repo

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "Gemfile" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run:
name: install dependencies
command: |
bundle install --jobs=4 --retry=3 --path vendor/bundle
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "Gemfile" }}

# run tests!
- run:
name: run tests
command: |
bundle exec rake
# collect reports
- store_test_results:
path: ~/repo/fastlane/report.junit
- store_artifacts:
path: ~/repo/fastlane
destination: test-results
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,4 +1,5 @@
*.gem
Gemfile.lock

## Documentation cache and generated files:
/.yardoc/
Expand All @@ -9,3 +10,4 @@ fastlane/report.xml
fastlane/README.md

coverage
test-results
2 changes: 2 additions & 0 deletions .rspec
@@ -1,3 +1,5 @@
--require spec_helper
--color
--format d
--format RspecJunitFormatter
--out test-results/rspec/rspec.xml
249 changes: 0 additions & 249 deletions Gemfile.lock

This file was deleted.

9 changes: 0 additions & 9 deletions circle.yml

This file was deleted.

3 changes: 2 additions & 1 deletion fastlane-plugin-branch.gemspec
Expand Up @@ -25,8 +25,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec_junit_formatter'
spec.add_development_dependency 'rspec-simplecov'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop', '~> 0.50.0'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'fastlane', '>= 2.26.1'
end

0 comments on commit 3fe6cab

Please sign in to comment.