-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.drone.yml
29 lines (27 loc) · 812 Bytes
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
kind: pipeline
type: docker
name: test
steps:
- name: Test Ruby
image: ruby:3.0.1
commands:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > "${HOME}/bin/cc-test-reporter"
- chmod +x "${HOME}/bin/cc-test-reporter"
- bundle -v
- bundle install
- cc-test-reporter before-build
- bundle exec rake
- cc-test-reporter after-build --exit-code $? -t simplecov
environment:
CC_TEST_REPORTER_ID: 7579537dde1ab4906da756393278a55e18ed1257f4ab6a235aa154fa718fc42a
- name: Upload to RubyGems
image: ruby:3.0.1
commands:
- gem build ios_config_profile.gemspec
- gem push -V *.gem
environment:
GEM_HOST_API_KEY:
from_secret: RUBYGEMS_API_KEY
when:
event:
- tag