From b882aa5c51df9148419898efa28b4cefc06e1a65 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 21 Oct 2017 18:55:44 +0300 Subject: [PATCH] Tests: Tests at Travis and AppVeyor --- .travis.yml | 41 +++++++++++++++++++++++++++++++++++++++++ ANNOUNCE | 2 ++ TODO | 2 +- tox.ini | 2 -- 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..40e3e71 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +# Config file for automatic testing at travis-ci.org + +# Only test master and pull requests; skip tags. +# Other branches can allow themselves. +branches: + only: + - master + +# Prefer docker containers +sudo: required + +language: python + +python: + - "2.7" + +cache: pip + +matrix: + include: + - python: "2.7" + env: TOXENV=py27 + - python: "3.3" + env: TOXENV=py33 + - python: "3.4" + env: TOXENV=py34 + - python: "3.5" + env: TOXENV=py35 + - python: "3.6" + env: TOXENV=py36 + - python: "pypy" + env: TOXENV=pypy + +install: + - travis_retry pip install tox + +script: + - tox + +before_cache: + - scripts/remove-old-files.py -o 180 ~/.cache/pip diff --git a/ANNOUNCE b/ANNOUNCE index 4c2dc5a..9d980c5 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -37,6 +37,8 @@ Version 2.8.0 (2017-10-??) Code cleanup: fixed flake8 errors and warnings. + Pushed to GitHub. Tests at Travis. + WHERE TO GET Home page: http://phdru.name/Software/Python/#mimedecode diff --git a/TODO b/TODO index 875e7c9..2566678 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -Travis, AppVeyor, PyPI. +PyPI. flake8. diff --git a/tox.ini b/tox.ini index aa6b387..c8977d4 100644 --- a/tox.ini +++ b/tox.ini @@ -5,8 +5,6 @@ [tox] envlist = py27, py33, py34, py35, py36, pypy -skip_missing_interpreters=true -toxworkdir={homedir}/.tox/mimedecode [testenv] basepython = -- 2.39.2