From 0e0f81b1b9f0d13c8be81ba0ea9afc6c03047c96 Mon Sep 17 00:00:00 2001 From: Akiomi Kamakura Date: Wed, 3 Jul 2019 21:53:42 +0900 Subject: [PATCH] Change CI from circleci to travis ci --- .circleci/config.yml | 45 -------------------------------------------- .travis.yml | 12 ++++++++++++ README.md | 2 +- 3 files changed, 13 insertions(+), 46 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index ee6699b..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,45 +0,0 @@ -# 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 - pipenv install -d codecov - - - save_cache: - paths: - - ./.venv - key: v1-dependencies-{{ checksum "Pipfile.lock" }}-{{ .Environment.CACHE_VERSION }} - - # run tests! - - run: - name: run tests - command: | - make test - - - run: - name: send coverage - command: | - pipenv run codecov diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..92c9018 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +dist: xenial +language: python +python: + - "3.7" +install: + - pip install pipenv + - pipenv install -d + - pipenv install -d codecov +script: + - make test +after_success: + - pipenv run codecov diff --git a/README.md b/README.md index 74d4250..caceda1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # pilgram [![PyPI version](https://badge.fury.io/py/pilgram.svg)](https://badge.fury.io/py/pilgram) -[![CircleCI](https://circleci.com/gh/akiomik/pilgram.svg?style=svg)](https://circleci.com/gh/akiomik/pilgram) +[![Build Status](https://travis-ci.org/akiomik/pilgram.svg?branch=master)](https://travis-ci.org/akiomik/pilgram) [![codecov](https://codecov.io/gh/akiomik/pilgram/branch/master/graph/badge.svg)](https://codecov.io/gh/akiomik/pilgram) A python library for instagram filters.