forked from payolapayments/payola
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (27 loc) · 930 Bytes
/
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
machine:
environment:
RAILS_ENV: test
ruby:
version: 2.3.1
dependencies:
pre:
# Sqlite version should be > 3.7.9 to avoid issues with Rails 5.0
# https://github.com/rails/rails/pull/24440
- sudo apt-get install --only-upgrade sqlite3 libsqlite3-dev
- sqlite3 --version
cache_directories:
- "vendor/bundle"
override:
- bundle install --gemfile=Gemfile --path=vendor/bundle
- bundle install --gemfile=gemfiles/rails_4_2.gemfile --path=../vendor/bundle
- bundle install --gemfile=gemfiles/rails_4_1.gemfile --path=../vendor/bundle
database:
override:
- echo "Do nothing in database step, default rake default task sets up db."
test:
override:
- BUNDLE_GEMFILE=Gemfile bundle exec rake
- BUNDLE_GEMFILE=gemfiles/rails_4_2.gemfile bundle exec rake
- BUNDLE_GEMFILE=gemfiles/rails_4_1.gemfile bundle exec rake
post:
- bundle exec codeclimate-test-reporter