Commit Graph

65 Commits

Author SHA1 Message Date
Alex Willmer 1e72ebaf8b tests: Update test coverage to Python 3.9
The Travis Linux distribution must be upgraded because the Trusty
(Ubuntu 14.04) image does not have Python 3.9. Xenial (Ubuntu 16.04) is
the earliest version that offers Python 3.9.

I have not chosen a later release, in order to aid restoration of Python
2.4 - 2.6 tests.
2021-01-25 22:18:25 +00:00
Steven Robertson 4657979210 adding clarifying comments 2020-12-09 22:51:46 -08:00
Steven Robertson ef029726e2 travis is having trouble running vanilla Ansible so migrating to Azure 2020-10-30 20:57:11 -07:00
Steven Robertson 46a0fc92a1 disable debops since it breaks with ansible 2.10 2020-10-29 21:31:25 -07:00
Steven Robertson 884cfbbb27 disable python <= 2.6 tests 2020-10-25 15:54:37 -07:00
Steven Robertson cf3d646613 fix custom_python_new_style_missing_interpreter, looks like Ansible 2.10 changed how new-style module detection works 2020-10-25 13:48:54 -07:00
Steven Robertson ae4f6ece41 add workaround for TravisCI 4MB log limit job termination 2020-10-25 12:52:14 -07:00
Steven Robertson 33e176d62e add support for ansible_collections site-package (from pip ansible==2.10.0 install) + switch to ansible 2.10.0 rather than github tag 2020-10-03 15:31:25 -07:00
Steven Robertson d940f64469 travis pip is 9 from what the logs say 2020-09-07 18:21:58 -07:00
Steven Robertson fa1269bca8 see what happens with only ansible 2.10 tests, still need to install collections tho 2020-09-03 21:44:08 -07:00
Steven Robertson cc8febb841 use new released 2.10 2020-08-15 23:39:37 -07:00
Steven Robertson b20aa982c7 use a commit that actually exists 2020-05-25 17:35:05 -07:00
Steven Robertson 40183138b4 add some tests pointing to almost-devel version of Ansible for collection preparation 2020-05-25 17:22:43 -07:00
Steven Robertson 9b1b5c5fb6 fix comment 2020-04-30 14:22:20 -07:00
Steven Robertson 54f1b9ca39 bionic doesn't have python2.6... sticking with trusty and downgrading to python3.6 2020-04-30 12:56:02 -07:00
Steven Robertson 070fde16f3 upgrade to ubuntu bionic for python3.7 support 2020-04-24 14:22:16 -07:00
Steven Robertson db386a0350 enable ansible 2.9.6 tests 2020-03-26 22:08:17 -07:00
David Wilson db37000dd5 ci: update to Ansible 2.8.3 2019-08-14 12:20:05 +01:00
David Wilson 95e7bca518 ci: try moving slower 2.8.0 jobs together 2019-07-29 19:08:21 +01:00
David Wilson 7bf5ce4498 ci: roughly bin-pack Travis jobs longest->shortest 2019-07-29 18:49:29 +01:00
David Wilson 14f8f00d4d [stream-refactor] mark py24 as allow-fail
This needs a day or two's worth of soaking to fix all the remaining nits
2019-07-28 14:24:23 +00:00
David Wilson 054643783c .travis.yml: Add reverse shell spawn for Travis too 2019-07-28 10:40:59 +00:00
David Wilson 2ce3383a01 [stream-refactor] make trusty our Travis dist.
They updated to xenial recently, and it no longer supports Py2.6.
2019-07-22 21:32:31 +01:00
David Wilson d981a382c9 ci: work around various broken aspects of Travis VM image
- Symlink broken Ubuntu Python package pieces back together. See many
  Google hits about this issue.
- Remove apt sources that can no longer be updated.
2019-06-04 13:38:33 +01:00
David Wilson ab9a80cfd4 ci: Ansible 2.8 requires Python 2.7. 2019-06-04 00:50:06 +01:00
David Wilson 73a87d425d ci: try bumping more Travis jobs to Ansible 2.8. 2019-06-03 20:49:27 +01:00
David Wilson 95fd9b815c travis: exclude docs-master from CI 2019-06-03 18:08:41 +01:00
David Wilson 0aa4c9d8fc issue #542: .ci: move some tests to Azure and enable Mac job. 2019-02-14 12:49:56 +00:00
David Wilson ee44d98f13 issue #477: travis.yml typo.
We don't care if 2.3 can talk to newer systems, just CentOS 5/Py2.4.
2019-01-27 05:27:05 +00:00
David Wilson 59e5276af3 issue #477: enable Ansible 2.3.3 CI. 2019-01-27 04:44:24 +00:00
David Wilson 11cabb04f9 WIP first run of py24 CI 2019-01-26 22:58:24 +00:00
David Wilson d15f5334c0 Turn on Travis build notifcations, but send them to IRC. 2019-01-18 23:30:12 +00:00
David Wilson 8f03060e0c issue #426: enable a 2->3 Mitogen job. 2018-11-07 00:39:10 +00:00
David Wilson 2a6dbb038f Pythonize, split out and parallelize all jobs. 2018-11-06 18:16:20 +00:00
David Wilson 3f414d5967 tests: rename .travis -> .ci, move Azure config into .ci 2018-11-06 01:50:11 +00:00
David Wilson 905ab890fb tests: stop idiotic Travis TTY/pip progress bar spam 2018-10-26 12:30:40 +01:00
David Wilson d580351db4 Correct DISTROS variable name for ansible_tests. 2018-08-19 23:04:40 +01:00
David Wilson 06ae59702c tests: rationalize matrix and rewrite ansible_tests
Now all distros run in parallel.
2018-08-18 16:43:59 +01:00
Daniel Quackenbush 5d3152cdc1 Updated Travis Config to use Ansible 2.6.1, Added build status in readme 2018-07-21 11:16:54 -04:00
David Wilson 3e73e6ae11 Reenable all Travis Jobs. 2018-07-07 14:55:47 +01:00
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
2018-07-07 14:55:47 +01:00
David Wilson cb595b30d4 issue #16: rearrange Travis matrix and add Python 3.6 target for core tests 2018-06-25 02:40:01 +01:00
David Wilson 83617ad192 issue #275: tests: cache virtualenvs too 2018-06-25 01:36:19 +01:00
David Wilson 4649e11da3 issue #275: Travis build matrix from hell.
dev_requirements.txt:
- drop debops, it's not available for Python2.6
2018-06-25 01:35:14 +01:00
David Wilson d65e047b12 issue #179: ec0_receive() and connect_bootstrap() should use deadline.
Now there is a single global deadline derived from ansible.cfg timeout=
value.
2018-05-11 18:19:27 +01:00
David Wilson c00e7ed367 tests: paralellize vanilla Ansible run. 2018-05-06 10:36:28 +01:00
David Wilson b2abe74ab6 issue #210: run DebOps under v2.5.1 too. 2018-04-22 13:21:58 +01:00
David Wilson 261f4397bb tests: rename debops mode, add extra centos/version targets 2018-04-17 17:30:51 +01:00
David Wilson 3f7dfd6344 tests: tidy up dross after fixing issue. 2018-04-17 17:09:32 +01:00
David Wilson c7e798e800 tests: stop burning CPU until this one job is fixed. 2018-04-17 16:18:21 +01:00