forked from googleapis/google-cloud-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
55 lines (47 loc) · 1.22 KB
/
circle.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
machine:
timezone: America/Los_Angeles
# Since 2.1.9 test execution fails to locate gem dependencies when run via
# rvm-exec, set it to be the machine default.
ruby:
version:
2.1.9
general:
branches:
ignore:
- gh-pages
- gcloud-jsondoc
- gcloud-rdoc
- yard-gcloud
dependencies:
cache_directories:
- "/opt/circleci/.rvm"
pre:
# The following three commands install 2.0.0
- rvm get stable
- gem update --system
- rvm-exec 2.4.0 gem update --system
- rvm-exec 2.3.1 gem update --system
- rvm-exec 2.2.5 gem update --system
- rvm install 2.0.0-p648
- rvm-exec 2.0.0-p648 gem update --system
- rvm-exec 2.0.0-p648 gem install bundler
override:
# The following command installs dependencies for 2.1.9
- bundle update
- rvm-exec 2.4.0 bundle update
- rvm-exec 2.3.1 bundle update
- rvm-exec 2.2.5 bundle update
- rvm-exec 2.0.0-p648 bundle update
test:
override:
- ruby build/test.rb:
parallel: true
post:
- ruby build/post_test.rb:
parallel: true
deployment:
release:
tag: /(\S*)\/v(\S*)/
owner: GoogleCloudPlatform
commands:
- rvm-exec 2.4.0 bundle exec rake circleci:release