compat/travis-ci test python 3.4 and 3.5 (#8)
authorShane Jaroch <chown_tee@proton.me>
Mon, 18 Jul 2022 18:28:39 +0000 (14:28 -0400)
committerGitHub <noreply@github.com>
Mon, 18 Jul 2022 18:28:39 +0000 (14:28 -0400)
* matrix build, and try bionic not xenial

* try it on xenial

    bionic worked with: 3.6, 3.9, pypy3

* only submit coverage report for python 3.6

* 3.7 won't work apparently. need to fix 3.4 and 3.5

* drop tabulate, one bugfix version

* use dogshit old version of coverage for travis ci

* don't use make _deps in travis

* nvm its stuck on old coveralls too

* back to explicit version of colorama

* travis-ci drop -o log_cli (doesn't work on 5.5)

* fix on win xp setup

* filter unsupported setup.cfg props on old coverage

.editorconfig
.travis.yml
requirements-test-win_xp-ubu1604.txt
requirements.txt

index d9f1e38f4d874f8c10ea3a3e4670add030acb463..3f9ce443c713effdc8553bcd250b9f530bdbbb66 100644 (file)
@@ -16,6 +16,7 @@ max_line_length = 88
 
 [*.{yaml,yml}]
 indent_size = 2
+max_line_length = 80
 
 
 [Makefile]
index 3b7fc413c85a63448d3f681f793156d4d8a91ee8..3f3fdbec373d8c33b16d834e5238b98b82d94bf9 100644 (file)
@@ -3,12 +3,30 @@ dist: xenial
 os: ["linux"]
 language: python
 python:
-  - "3.6"
+  - 3.4
+  - 3.5
+  - 3.6
+  - 3.8
+  - 3.9
+  - pypy3
+cache: pip
 git:
   submodules: true
+
+before_install:
+  - >
+    if [[ "$(python --version)" =~ "3.4." ]]; then
+      grep -v skip_empty setup.cfg > setup.cfg2 && mv setup.cfg2 setup.cfg;
+    fi
+
 install:
   - python -m pip install coveralls
-  - make _deps
+  - python -m pip install colorama==0.4.1
+  - python -m pip install coverage>=4.5.4
+  - python -m pip install -r requirements.txt
+  - python -m pip install -r requirements-test-win_xp-ubu1604.txt
+
 script:
-  - make _test
-  - coveralls
+  - coverage run -m pytest -v -s -p no:cacheprovider tests/
+  - coverage report
+  - if [[ "$(python --version)" =~ "3.6." && "$(which pypy)" == "" ]]; then coveralls; fi
index 39fde645c055bfef0c1d0a40c117e4bef04a04d5..0789c2ff424941109c755a8c5acd2bcc994f9815 100644 (file)
@@ -1,3 +1,4 @@
 # Don't update these, they are the last supported versions on winXP, Ubuntu 16.04 & Python 3.4
-coverage==5.5
+# coverage 5.5 technically works, but not for Travis CI
+coverage>=4.5.4,<=5.5
 pytest==3.2.5
index 67ad9482e647a05eea2d0cd81803d1dee2616847..4bf2690ae68b2b9625003f8f6bbfc4daf5b2ea01 100644 (file)
@@ -1,4 +1,4 @@
-argcomplete==2.0.0
-colorama==0.4.5
+argcomplete>=1.12.3
+colorama>=0.4.1
 fuzzywuzzy==0.18.0
-tabulate==0.8.10
+tabulate>=0.8.9