version: 2

jobs:
  build:
    working_directory: ~/st2tests
    parallelism: 1
    shell: /bin/bash --login
    docker:
      - image: circleci/python:2.7
    steps:
      - checkout
      - run: git clone -b master git@github.com:StackStorm/st2.git /tmp/st2
      - run: make requirements
      - save_cache:
          key: v1-dep-{{ .Branch }}-{{ epoch }}
          paths:
            - ~/.cache/pip
      - run: make lint

version: 2

jobs:
  build:
    working_directory: ~/st2tests
    parallelism: 1
    shell: /bin/bash --login
    docker:
      - image: circleci/python:2.7
    steps:
      - checkout
      - run: git clone -b master git@github.com:StackStorm/st2.git /tmp/st2
      - run: make requirements
      - run: make lint

Remove step to save cache
Remove step to save cache

Skip this step as it creates a new cache everytime and we are not using the cache.
