Sha256: 1dd19435436cb29b26907f8587d21927b369a601d5d59997044ae67ea99ea4f5
Contents?: true
Size: 1.8 KB
Versions: 2
Compression:
Stored size: 1.8 KB
Contents
# Ruby CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-ruby/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/ruby:2.4.1-node-browsers environment: TEST_DRB: false - image: memcached:1.4-alpine working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "Gemfile" }} - run: name: install dependencies command: | bundle install --jobs=4 --retry=3 --path vendor/bundle - save_cache: paths: - ./vendor/bundle key: v1-dependencies-{{ checksum "Gemfile" }} - run: name: install dockerize command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz environment: DOCKERIZE_VERSION: v0.3.0 - run: name: Wait for memcached command: dockerize -wait tcp://localhost:11211 -timeout 1m - run: name: run tests command: | bundle exec rspec --version bundle exec exe/sym --version if [[ -t 1 ]]; then echo "this is a TTY!"; else echo "this is NOT a tty"; fi if [[ -p /dev/stdout ]]; then echo "this is a PIPE!"; else echo "this is NOT a pipe"; fi if [[ ! -t 1 && ! -p /dev/stdout ]]; then echo "this is a REDIRECT!"; else echo "this is NOT a redirect"; fi CI=true timeout -k 2 -s HUP 30 bundle exec rspec --order random --format documentation --backtrace
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sym-2.8.5 | .circleci/config.yml |
sym-2.8.4 | .circleci/config.yml |