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
David Wilson
6df796c7b6
tests: fix Ansible jobs to run on Debian/CentOS images too.
2018-04-16 14:53:45 +01:00
David Wilson
15e30e8ac5
tests: Add a Travis target for CentOS images.
2018-04-16 14:27:37 +01:00
David Wilson
3ebe600389
issue #164 : convert "examples" into actual tests
...
- Add new Travis mode, "ansible_tests.sh" that runs
integrations/all.yml. Slowly build this up over time to cover more of
the existing junk.
- Add basic assertions on the output of the existing runner__* files.
- Wire up 2.4.3/2.5.0 jobs in Travis.
2018-04-04 20:01:23 +01:00
David Wilson
de5028ac18
issue #164 : arrange for DebOps common.yml to run under Travis.
2018-04-04 11:00:24 +01:00
Alex Willmer
f92d88c241
travis: Cache wheels and other pip artifacts
...
Should speedup builds
2018-04-01 02:05:36 +01:00
Alex Willmer
dc60f05a40
tests: Switch to unit2 test runner, with coverage
...
This means test files are imported as modules, not run as scripts. THey
can still be run individually if so desired. Test coverage is measured,
and an html report generated in htmlcov/. Test cases are automativally
discovered, so they need not be listed twice. An overall
passed/failed/skipped summary is printed, rather than for each file.
Arguments passed to ./test are passed on to unit2. For instance
./test -v
will print each test name as it is run.
2018-04-01 01:43:45 +01:00
David Wilson
6118d4e6df
tests: set MITOGEN_LOG_LEVEL=debug in .travis.yml too.
2018-03-29 07:26:12 +00:00
David Wilson
4f934465b3
Remove overall build timeout from .travis.yml.
2018-03-19 21:58:28 +05:45
Taihsiang Ho (tai271828)
4e4c9894cf
Describe the installation and test process
...
We use test.sh to consolidate test cases in one file so the README
would not be outdated easier rather than the hard-coded test commands
in a code block.
2018-03-19 21:58:27 +05:45
David Wilson
8cabba6965
Add first_stage_test to Travis.
2018-03-19 21:58:27 +05:45
David Wilson
32cf2e1a97
Sort .travis.yml
2018-03-19 21:58:27 +05:45
David Wilson
12423566da
Bump time allowance for fakessh_test
2018-03-19 21:58:27 +05:45
David Wilson
419c8c810f
Bump time allowance for ssh_test.
2018-03-19 21:58:27 +05:45
David Wilson
4ae2f5925b
Bump time allowance for select_test.
2018-03-19 21:58:27 +05:45
David Wilson
c58d7f517b
Bare minimum .travis.yml.
2018-03-19 21:35:37 +05:45