forked from activemerchant/active_merchant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
33 lines (28 loc) · 1.33 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
machine:
ruby:
version: '2.1.0'
dependencies:
cache_directories:
- 'vendor/bundle_32'
- 'vendor/bundle_40'
- 'vendor/bundle_41'
- 'vendor/bundle_42'
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
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