machine:
  ruby:
    version: 2.3.0
  environment:
    KNAPSACK_REPO_PATH: ~/gems/knapsack
dependencies:
  pre:
    - bundler -v && gem install bundler -v 1.12.0.rc && bundler -v
    - mkdir ~/gems
    - cd ~/gems && git clone -b $CIRCLE_BRANCH --single-branch git@github.com:ArturT/knapsack.git
    - cd ~/gems/knapsack && git branch
    - cd ~/gems/knapsack && git log -n 1 | more
test:
  override:
    #- KNAPSACK_GENERATE_REPORT=true bundle exec rspec spec
    - bundle exec rake knapsack:rspec:
        parallel: true

    #- KNAPSACK_GENERATE_REPORT=true bundle exec cucumber features
    - bundle exec rake knapsack:cucumber:
        parallel: true

    #- KNAPSACK_GENERATE_REPORT=true bundle exec rake test
    - bundle exec rake knapsack:minitest[--verbose]:
        parallel: true

machine:
  ruby:
    version: 2.3.0
  environment:
    KNAPSACK_REPO_PATH: ~/gems/knapsack
dependencies:
  pre:
    - mkdir ~/gems
    - cd ~/gems && git clone -b $CIRCLE_BRANCH --single-branch git@github.com:ArturT/knapsack.git
    - cd ~/gems/knapsack && git branch
    - cd ~/gems/knapsack && git log -n 1 | more
test:
  override:
    #- KNAPSACK_GENERATE_REPORT=true bundle exec rspec spec
    - bundle exec rake knapsack:rspec:
        parallel: true

    #- KNAPSACK_GENERATE_REPORT=true bundle exec cucumber features
    - bundle exec rake knapsack:cucumber:
        parallel: true

    #- KNAPSACK_GENERATE_REPORT=true bundle exec rake test
    - bundle exec rake knapsack:minitest[--verbose]:
        parallel: true

Revert "Use newer bundler to fix bug on CI"
Revert "Use newer bundler to fix bug on CI"

This reverts commit 5408e802b24718144643cc5a433539f08f915eb8.
