Skip to content

Commit

Permalink
Restore circleci config.yml (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Oct 24, 2020
1 parent 7fe3207 commit 1a62c72
Showing 1 changed file with 18 additions and 49 deletions.
67 changes: 18 additions & 49 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,18 @@
# pip-run: &pip-install
# name: Install Python dependencies
# command: |
# python3 -m venv venv
# . venv/bin/activate
# pip install pytest
# pip install -e .[cloudflare]


# version: 2
# jobs:
# nineanime:
# docker:
# - image: circleci/python:3.6
# steps:
# - checkout
# - run: *pip-install
# - run: venv/bin/python -m pytest tests/test_anime.py --anime-site nineanime
# kissanime:
# docker:
# - image: circleci/python:3.6
# steps:
# - checkout
# - run: *pip-install
# - run: venv/bin/python -m pytest tests/test_anime.py --anime-site kissanime
# gogoanime:
# docker:
# - image: circleci/python:3.6
# steps:
# - checkout
# - run: *pip-install
# - run: venv/bin/python -m pytest tests/test_anime.py --anime-site gogoanime

# workflows:
# version: 2
# commit:
# jobs:
# - nineanime
# - gogoanime
# Kissanime will always fail on remote servers due to cloudflare
# - kissanime

# triggers:
# - schedule:
# cron: "0 0 * * *"
# filters:
# branches:
# only:
# - master
jobs:
build:
executor: python/default
steps:
- checkout
- python/install-packages:
args: pytest
pkg-manager: pipenv
- run: |
pipenv install --dev
pipenv run pytest
orbs:
python: circleci/python@1.2.0
version: 2.1
workflows:
main:
jobs:
- build

0 comments on commit 1a62c72

Please sign in to comment.