From f8e4c33c23290df2b7351b83307547547698f00a Mon Sep 17 00:00:00 2001 From: Norio Nomura Date: Wed, 4 Apr 2018 08:29:14 +0900 Subject: [PATCH] [CircleCI] Use pre-installed ruby-2.3 instead of installing by Homebrew --- circle.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index b94e55857..06e2712c8 100644 --- a/circle.yml +++ b/circle.yml @@ -12,11 +12,12 @@ jobs: - run: swift run -Xswiftc -sanitize=thread swiftlint lint --lenient osscheck: + shell: /bin/bash --login -eo pipefail macos: xcode: "9.2.0" steps: - checkout - - run: brew install ruby + - run: echo "ruby-2.3" > ~/.ruby-version - run: bundle install - run: bundle exec danger --verbose @@ -38,11 +39,12 @@ jobs: - run: bash <(curl -s https://codecov.io/bash) cocoapods: + shell: /bin/bash --login -eo pipefail macos: xcode: "9.2.0" steps: - checkout - - run: brew install ruby + - run: echo "ruby-2.3" > ~/.ruby-version - run: bundle install - run: curl -sS https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash - run: echo "4.0" > .swift-version; bundle exec pod lib lint SwiftLintFramework.podspec