]> git.phdru.name Git - mimedecode.git/commitdiff
Tests: Tests at Travis and AppVeyor
authorOleg Broytman <phd@phdru.name>
Sat, 21 Oct 2017 15:55:44 +0000 (18:55 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 21 Oct 2017 16:06:22 +0000 (19:06 +0300)
.travis.yml [new file with mode: 0644]
ANNOUNCE
TODO
tox.ini

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..40e3e71
--- /dev/null
@@ -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
index 4c2dc5a3b015f2431c9b68ae7f434271e2cc7aa9..9d980c51e1312910b320673162958f3bb82a7625 100644 (file)
--- 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 875e7c91ee80be79c9f646508c5052e473ab68be..2566678af1ac02b09cb9c2026e8e1f1b867066d7 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,4 +1,4 @@
-Travis, AppVeyor, PyPI.
+PyPI.
 
 
 flake8.
diff --git a/tox.ini b/tox.ini
index aa6b3878487aab897ec42683141620e57d347f5b..c8977d4a340c38d8fde804d175cc96f8344529b1 100644 (file)
--- 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 =