sym 3.0.0 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.circleci/config.yml DELETED
@@ -1,60 +0,0 @@
1
- # Ruby CircleCI 2.0 configuration file
2
- #
3
- # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
- #
5
- version: 2
6
- jobs:
7
- build:
8
- docker:
9
- # specify the version you desire here
10
- - image: circleci/ruby:2.6.2-node-browsers-legacy
11
- environment:
12
- TEST_DRB: false
13
-
14
- - image: memcached:latest
15
-
16
- working_directory: ~/repo
17
-
18
- steps:
19
- - checkout
20
- - restore_cache:
21
- keys:
22
- - v1-dependencies-{{ checksum "Gemfile" }}
23
-
24
- - run:
25
- name: install dependencies
26
- command: |
27
- bundle install --jobs=4 --retry=3 --path vendor/bundle
28
-
29
- - save_cache:
30
- paths:
31
- - ./vendor/bundle
32
- key: v1-dependencies-{{ checksum "Gemfile" }}
33
-
34
- - run:
35
- name: install dockerize
36
- 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
37
- environment:
38
- DOCKERIZE_VERSION: v0.3.0
39
-
40
- - run:
41
- name: Wait for the memcached
42
- command: dockerize -wait tcp://localhost:11211 -timeout 1m
43
-
44
- - run:
45
- name: RSpecs
46
- command: |
47
- export PATH=".:$PATH"
48
- bundle exec rspec --version
49
- bundle exec exe/sym --version
50
- # flush memcached
51
- printf "flush_all\r\nquit\r\n" | timeout -k 2 -s HUP 10 nc -G 4 127.0.0.1 11211 || true
52
- timeout -k 2 -s HUP 30 bundle exec rspec --order random --backtrace
53
-
54
- - run:
55
- name: Rubocop
56
- command: |
57
- bundle exec rubocop --version
58
- bundle exec rubocop
59
-
60
-