Remove last traces of Travis CI
This commit is contained in:
parent
b387089be4
commit
7b3e7b4ae8
54
.travis.yml
54
.travis.yml
|
@ -1,54 +0,0 @@
|
|||
sudo: false
|
||||
language: python
|
||||
python:
|
||||
- 3.8
|
||||
- 3.7
|
||||
- 3.6
|
||||
cache: pip
|
||||
env:
|
||||
global:
|
||||
- PYTHONWARNINGS=default,ignore::PendingDeprecationWarning,ignore::ResourceWarning
|
||||
matrix:
|
||||
- DJANGO='>=3.0,<3.1'
|
||||
- DJANGO='>=2.2,<3.0'
|
||||
- DJANGO='>=2.1,<2.2'
|
||||
- DJANGO='>=2.0,<2.1'
|
||||
- DJANGO='>=1.11,<1.12'
|
||||
matrix:
|
||||
fast_finish: true
|
||||
exclude:
|
||||
- python: 3.8
|
||||
env: DJANGO='>=1.11,<1.12'
|
||||
- python: 3.7
|
||||
env: DJANGO='>=1.11,<1.12'
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libmysqlclient-dev
|
||||
services:
|
||||
- postgresql
|
||||
- mysql
|
||||
install:
|
||||
- pip install flake8 coverage django$DJANGO psycopg2 mysqlclient -e .
|
||||
before_script:
|
||||
- mysql -e 'create database test_project'
|
||||
- psql -c 'create database test_project;' -U postgres;
|
||||
script:
|
||||
- flake8
|
||||
- coverage run -a tests/runtests.py
|
||||
- coverage run -a tests/runtests.py -d psql
|
||||
- coverage run -a tests/runtests.py -d mysql
|
||||
after_success:
|
||||
- coverage report
|
||||
deploy:
|
||||
provider: pypi
|
||||
user: etianen
|
||||
password:
|
||||
secure: rzaq3pbJz25SVXyR/fn+gLaYxu0LqCEE+wcesg8pjA8cLLvFdLvXi0ZjmixxVl2u4HlndZrUgwTrRGVIQR1TOL0jGRYOUCJDzAaZqJkg+Qykz89iKSnentyOpNJe6fRAHsqFxBESYZjG8JEZvtRv+JIZLY+QR+KCA1xaeu4Afpw=
|
||||
on:
|
||||
tags: true
|
||||
condition: $DJANGO = '>=3.0,<3.1'
|
||||
python: 3.8
|
||||
repo: etianen/django-watson
|
||||
notifications:
|
||||
email: false
|
|
@ -1,7 +1,7 @@
|
|||
django-watson
|
||||
=============
|
||||
|
||||
[![Build Status](https://travis-ci.org/etianen/django-watson.svg?branch=master)](https://travis-ci.org/etianen/django-watson)
|
||||
[![Django CI](https://github.com/etianen/django-watson/actions/workflows/django.yml/badge.svg)](https://github.com/etianen/django-watson/actions/workflows/django.yml)
|
||||
[![PyPI](https://img.shields.io/pypi/v/django-watson.svg)](https://pypi.python.org/pypi/django-watson)
|
||||
[![GitHub license](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://raw.githubusercontent.com/etianen/django-watson/master/LICENSE)
|
||||
|
||||
|
|
Loading…
Reference in New Issue