aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
blob: 4d354be3d6acee4701994c2781bc55f1a12a390e (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.2e >> $rvm_path/user/db
    - rvm pkg install openssl
    - >
      case $CIRCLE_NODE_INDEX in
        0)
          rvm install ruby-2.3.0 --with-openssl-dir=$rvm_path/usr
          rvm use ruby-2.3.0 --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