.circleci/config.yml in coprl-3.0.0.beta.5 vs .circleci/config.yml in coprl-3.0.0.beta.6

- old
+ new

@@ -16,31 +16,25 @@ working_directory: ~/repo steps: - checkout - - # Download and cache dependencies - restore_cache: keys: - - v1-dependencies-{{ checksum "Gemfile.lock" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: - name: install dependencies - command: | - bundle install --jobs=4 --retry=3 --path vendor/bundle - + # when lock file changes, use increasingly general patterns to restore cache + - v1-gem-cache-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }} + - v1-gem-cache-{{ arch }}-{{ .Branch }}- + - v1-gem-cache-{{ arch }}- + - run: bundle install + - run: bundle clean --force - save_cache: paths: - - ./vendor/bundle - key: v1-dependencies-{{ checksum "Gemfile.lock" }} - + - ~/.bundle + key: v1-gem-cache-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }} - run: name: 'start integration testing server' command: | - rackup + bundle exec rackup background: true # run tests! - run: name: run specs