forked from activemerchant/active_merchant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
39 lines (33 loc) · 1.63 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
machine:
ruby:
version: '2.3.0'
dependencies:
cache_directories:
- 'vendor/bundle_32'
- 'vendor/bundle_40'
- 'vendor/bundle_41'
- 'vendor/bundle_42'
- 'vendor/bundle_5'
override:
- bundle check --path=vendor/bundle_32 --gemfile Gemfile.rails32 || bundle install --jobs=4 --retry=3 --gemfile Gemfile.rails32 --path=vendor/bundle_32
- bundle check --path=vendor/bundle_40 --gemfile Gemfile.rails40 || bundle install --jobs=4 --retry=3 --gemfile Gemfile.rails40 --path=vendor/bundle_40
- bundle check --path=vendor/bundle_41 --gemfile Gemfile.rails41 || bundle install --jobs=4 --retry=3 --gemfile Gemfile.rails41 --path=vendor/bundle_41
- bundle check --path=vendor/bundle_42 --gemfile Gemfile.rails42 || bundle install --jobs=4 --retry=3 --gemfile Gemfile.rails42 --path=vendor/bundle_42
- bundle check --path=vendor/bundle_5 --gemfile Gemfile.rails5 || bundle install --jobs=4 --retry=3 --gemfile Gemfile.rails5 --path=vendor/bundle_5
test:
override:
- bundle check --path=vendor/bundle_32 && bundle exec rake test:
environment:
BUNDLE_GEMFILE: Gemfile.rails32
- bundle check --path=vendor/bundle_40 && bundle exec rake test:
environment:
BUNDLE_GEMFILE: Gemfile.rails40
- bundle check --path=vendor/bundle_41 && bundle exec rake test:
environment:
BUNDLE_GEMFILE: Gemfile.rails41
- bundle check --path=vendor/bundle_42 && bundle exec rake test:
environment:
BUNDLE_GEMFILE: Gemfile.rails42
- bundle check --path=vendor/bundle_5 && bundle exec rake test:
environment:
BUNDLE_GEMFILE: Gemfile.rails5