Restore circleci config.yml (#550)
parent
7fe3207910
commit
1a62c72b71
|
@ -1,49 +1,18 @@
|
||||||
# pip-run: &pip-install
|
jobs:
|
||||||
# name: Install Python dependencies
|
build:
|
||||||
# command: |
|
executor: python/default
|
||||||
# python3 -m venv venv
|
steps:
|
||||||
# . venv/bin/activate
|
- checkout
|
||||||
# pip install pytest
|
- python/install-packages:
|
||||||
# pip install -e .[cloudflare]
|
args: pytest
|
||||||
|
pkg-manager: pipenv
|
||||||
|
- run: |
|
||||||
# version: 2
|
pipenv install --dev
|
||||||
# jobs:
|
pipenv run pytest
|
||||||
# nineanime:
|
orbs:
|
||||||
# docker:
|
python: circleci/python@1.2.0
|
||||||
# - image: circleci/python:3.6
|
version: 2.1
|
||||||
# steps:
|
workflows:
|
||||||
# - checkout
|
main:
|
||||||
# - run: *pip-install
|
jobs:
|
||||||
# - run: venv/bin/python -m pytest tests/test_anime.py --anime-site nineanime
|
- build
|
||||||
# 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
|
|
||||||
|
|
Loading…
Reference in New Issue