File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 55version : 2
66jobs :
77 build :
8- machine :
9- image : circleci/classic:latest
10-
11- # Specify service dependencies here if necessary
12- # CircleCI maintains a library of pre-built images
13- # documented at https://circleci.com/docs/2.0/circleci-images/
14- # - image: circleci/postgres:9.4
8+ docker :
9+ - image : circleci/ruby:2.4.1-node-browsers
10+
11+ - image : redislabs/redisgraph:edge
12+ port : 6379:6379
1513
1614 working_directory : ~/repo
1715
1816 steps :
1917 - checkout
18+
19+ - restore_cache :
20+ keys :
21+ - v1-dependencies-{{ checksum "Gemfile" }}
22+ # fallback to using the latest cache if no exact match is found
23+ - v1-dependencies-
2024
2125 - run :
2226 name : install dependencies
2630 - save_cache :
2731 paths :
2832 - ./vendor/bundle
29- key : v1-dependencies-{{ checksum "Gemfile.lock " }}
33+ key : v1-dependencies-{{ checksum "Gemfile" }}
3034
3135 # run tests!
3236 - run :
3337 name : run tests
34- command : |
35- docker run -d -p 6379:6379 -it --rm --name redisgraph redislabs/redisgraph:edge
36- bundle exec ruby test/test_suite.rb
38+ command : bundle exec ruby test/test_suite.rb
You can’t perform that action at this time.
0 commit comments