Skip to content

Commit

Permalink
Support circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik committed Feb 24, 2019
1 parent ff72b01 commit 240c7ad
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7

working_directory: ~/repo

environment:
PIPENV_VENV_IN_PROJECT: true

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "Pipfile.lock" }}-{{ .Environment.CACHE_VERSION }}

- run:
name: install dependencies
command: |
sudo pip install pipenv
pipenv install -d
- save_cache:
paths:
- ./.venv
key: v1-dependencies-{{ checksum "Pipfile.lock" }}-{{ .Environment.CACHE_VERSION }}

# run tests!
- run:
name: run tests
command: |
make test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pilgram

[![CircleCI](https://circleci.com/gh/akiomik/pilgram.svg?style=svg)](https://circleci.com/gh/akiomik/pilgram)

A python library for instagram filters.

![screenshot](screenshot.png)
Expand Down

0 comments on commit 240c7ad

Please sign in to comment.