blob: 58e89b22b8fffa784766782b7bd34f7ab75cabe2 (
plain)
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
|
machine:
environment:
CODECLIMATE_REPO_TOKEN: f5092ab344fac7f2de9d7332e00597642a4d24e3d560f7d7f329172a2e5a2def
dependencies:
pre:
- echo openssl_url=https://www.openssl.org/source >> $rvm_path/user/db
- echo openssl_version=1.0.2g >> $rvm_path/user/db
- rvm pkg install openssl
- >
case $CIRCLE_NODE_INDEX in
0)
rvm install ruby-2.3.1 --with-openssl-dir=$rvm_path/usr
rvm use ruby-2.3.1 --default
;;
0)
rvm install ruby-head --with-openssl-dir=$rvm_path/usr
rvm use ruby-head --default
;;
esac
override:
- gem install bundler
- bundle install
test:
override:
- $rvm_path/usr/bin/openssl version
- ruby -v
- bundle exec rake test
|