forked from aemadrid/tiki_torch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
48 lines (35 loc) · 1.41 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
machine:
ruby:
version: ruby-2.0.0-p598
java:
version: openjdk7
environment:
JRUBY_OPTS: --server -J-Dfile.encoding=utf8 --2.0 -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -X-C -Xcompile.invokedynamic=false -J-Xmx2g
DEBUG: true
FOCUS: false
PERFORMANCE: false
USE_REAL_SQS: false
dependencies:
cache_directories:
- "vendor/bundle_java"
- "vendor/bundle"
pre:
- echo rvm_autoupdate_flag=0 >> ~/.rvmrc
- rvm install ruby-2.0.0-p598
- rvm install ruby-2.3.1
- rvm install jruby-9.0.0.0
- rvm-exec ruby-2.0.0-p598 bash -c "gem install bundler"
- rvm-exec ruby-2.3.1 bash -c "gem install bundler"
- rvm-exec jruby-9.0.0.0 bash -c "gem install bundler"
override:
- rvm-exec ruby-2.0.0-p598 bash -c "bundle check --path=vendor/bundle || bundle install --path=vendor/bundle"
- rvm-exec ruby-2.3.1 bash -c "bundle check --path=vendor/bundle || bundle install --path=vendor/bundle"
- rvm-exec jruby-9.0.0.0 bash -c "bundle check --path=vendor/bundle_java || bundle install --path=vendor/bundle_java"
test:
override:
- rvm-exec ruby-2.0.0-p598 bash -c "bundle exec rspec --color --require spec_helper"
- rvm-exec ruby-2.3.1 bash -c "bundle exec rspec --color --require spec_helper"
- rvm-exec jruby-9.0.0.0 bash -c "bundle exec rspec --color --require spec_helper"
general:
artifacts:
- coverage