Remove unused CI config files and the like
This commit is contained in:
parent
880b899e81
commit
3baf75e59e
5 changed files with 0 additions and 85 deletions
|
@ -1,21 +0,0 @@
|
|||
image: python:3.6
|
||||
services:
|
||||
- postgres:latest
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: normal
|
||||
PIP_CACHE_DIR: $CI_PROJECT_DIR/.cache/pip
|
||||
PIPENV_CACHE_DIR: $CI_PROJECT_DIR/.cache/pipenv
|
||||
POSTGRES_HOST: postgres
|
||||
POSTGRES_DB: nice_marmot
|
||||
POSTGRES_USER: runner
|
||||
POSTGRES_PASSWORD: ''
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- .cache
|
||||
|
||||
test:
|
||||
script:
|
||||
- pip install pipenv
|
||||
- pipenv sync --dev
|
||||
- pipenv run pytest
|
|
@ -1,41 +0,0 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: check-ast
|
||||
- id: check-builtin-literals
|
||||
- id: check-case-conflict
|
||||
- id: check-docstring-first
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-json
|
||||
- id: check-merge-conflict
|
||||
- id: check-symlinks
|
||||
- id: check-toml
|
||||
- id: check-vcs-permalinks
|
||||
- id: check-yaml
|
||||
- id: destroyed-symlinks
|
||||
- id: end-of-file-fixer
|
||||
- id: fix-byte-order-marker
|
||||
- id: mixed-line-ending
|
||||
args:
|
||||
- --fix=lf
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.7.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.11
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pytest
|
||||
name: Check pytest unit tests pass
|
||||
entry: poetry run pytest
|
||||
pass_filenames: false
|
||||
language: system
|
||||
types: [python]
|
||||
- id: mypy
|
||||
name: Check mypy static types match
|
||||
entry: poetry run mypy . --ignore-missing-imports
|
||||
pass_filenames: false
|
||||
language: system
|
||||
types: [python]
|
|
@ -1,3 +0,0 @@
|
|||
requirements:
|
||||
- Pipfile
|
||||
- Pipfile.lock
|
16
.travis.yml
16
.travis.yml
|
@ -1,16 +0,0 @@
|
|||
language: python
|
||||
cache:
|
||||
directories:
|
||||
- $PIP_CACHE_DIR
|
||||
- $PIPENV_CACHE_DIR
|
||||
env:
|
||||
global:
|
||||
- PIP_CACHE_DIR=$HOME/.cache/pip
|
||||
- PIPENV_CACHE_DIR=$HOME/.cache/pipenv
|
||||
python:
|
||||
- '3.6'
|
||||
install:
|
||||
- pip install pipenv
|
||||
- pipenv install --dev
|
||||
script:
|
||||
- pipenv run pytest
|
|
@ -1,4 +0,0 @@
|
|||
# vim: set ft=yaml :
|
||||
host: 00dani.dev
|
||||
port: 443
|
||||
cname: dev.00dani.me
|
Loading…
Reference in a new issue