Fix for recent CircleCI breakage

This commit is contained in:
rocky
2019-08-21 08:43:38 -04:00
parent 8daedaf063
commit 8728cb6a99

View File

@@ -27,9 +27,9 @@ jobs:
# VM instead of a container) see https://circleci.com/docs/2.0/executor-types/ # VM instead of a container) see https://circleci.com/docs/2.0/executor-types/
# To see the list of pre-built images that CircleCI provides for most common languages see # To see the list of pre-built images that CircleCI provides for most common languages see
# https://circleci.com/docs/2.0/circleci-images/ # https://circleci.com/docs/2.0/circleci-images/
docker: machine:
- image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37 python:
command: /sbin/init version: 2.7.14
steps: steps:
# Machine Setup # Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each # If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
@@ -42,7 +42,7 @@ jobs:
# This is based on your 1.0 configuration file or project settings # This is based on your 1.0 configuration file or project settings
- run: - run:
working_directory: ~/rocky/python-uncompyle6 working_directory: ~/rocky/python-uncompyle6
command: pyenv local 2.7.11 && pyenv rehash && pip install virtualenv && pip install nose && pip install pep8 && pip install six && pyenv rehash command: pip install virtualenv && pip install nose && pip install pep8 && pyenv rehash
# Dependencies # Dependencies
# This would typically go in either a build or a build-and-test job when using workflows # This would typically go in either a build or a build-and-test job when using workflows
# Restore the dependency cache # Restore the dependency cache
@@ -60,7 +60,7 @@ jobs:
- run: pip install pytest==3.2.5 hypothesis==3.0.0 - run: pip install pytest==3.2.5 hypothesis==3.0.0
# Save dependency cache # Save dependency cache
- save_cache: - save_cache:
key: v1-dep-{{ .Branch }}-{{ epoch }} key: v2-dependencies-{{ .Branch }}-{{ epoch }}
paths: paths:
# This is a broad list of cache paths to include many possible development environments # This is a broad list of cache paths to include many possible development environments
# You can probably delete some of these entries # You can probably delete some of these entries
@@ -69,8 +69,6 @@ jobs:
- ~/.m2 - ~/.m2
- ~/.ivy2 - ~/.ivy2
- ~/.bundle - ~/.bundle
- ~/.go_workspace
- ~/.gradle
- ~/.cache/bower - ~/.cache/bower
# Test # Test
# This would typically be a build job when using workflows, possibly combined with build # This would typically be a build job when using workflows, possibly combined with build