anime-downloader/.circleci/config.yml

50 lines
1.2 KiB
YAML

# 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