Commit Graph

52 Commits (285ca85cad8929242963623e4dc0980e8952cf9c)

Author SHA1 Message Date
Steven Robertson 9b1b5c5fb6 fix comment 5 years ago
Steven Robertson 54f1b9ca39 bionic doesn't have python2.6... sticking with trusty and downgrading to python3.6 5 years ago
Steven Robertson 070fde16f3 upgrade to ubuntu bionic for python3.7 support 5 years ago
Steven Robertson db386a0350 enable ansible 2.9.6 tests 5 years ago
David Wilson db37000dd5 ci: update to Ansible 2.8.3 5 years ago
David Wilson 95e7bca518 ci: try moving slower 2.8.0 jobs together 5 years ago
David Wilson 7bf5ce4498 ci: roughly bin-pack Travis jobs longest->shortest 5 years ago
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
5 years ago
David Wilson 054643783c .travis.yml: Add reverse shell spawn for Travis too 5 years ago
David Wilson 2ce3383a01 [stream-refactor] make trusty our Travis dist.
They updated to xenial recently, and it no longer supports Py2.6.
5 years ago
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.
6 years ago
David Wilson ab9a80cfd4 ci: Ansible 2.8 requires Python 2.7. 6 years ago
David Wilson 73a87d425d ci: try bumping more Travis jobs to Ansible 2.8. 6 years ago
David Wilson 95fd9b815c travis: exclude docs-master from CI 6 years ago
David Wilson 0aa4c9d8fc issue #542: .ci: move some tests to Azure and enable Mac job. 6 years ago
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.
6 years ago
David Wilson 59e5276af3 issue #477: enable Ansible 2.3.3 CI. 6 years ago
David Wilson 11cabb04f9 WIP first run of py24 CI 6 years ago
David Wilson d15f5334c0 Turn on Travis build notifcations, but send them to IRC. 6 years ago
David Wilson 8f03060e0c issue #426: enable a 2->3 Mitogen job. 6 years ago
David Wilson 2a6dbb038f Pythonize, split out and parallelize all jobs. 6 years ago
David Wilson 3f414d5967 tests: rename .travis -> .ci, move Azure config into .ci 6 years ago
David Wilson 905ab890fb tests: stop idiotic Travis TTY/pip progress bar spam 6 years ago
David Wilson d580351db4 Correct DISTROS variable name for ansible_tests. 6 years ago
David Wilson 06ae59702c tests: rationalize matrix and rewrite ansible_tests
Now all distros run in parallel.
6 years ago
Daniel Quackenbush 5d3152cdc1 Updated Travis Config to use Ansible 2.6.1, Added build status in readme 6 years ago
David Wilson 3e73e6ae11 Reenable all Travis Jobs. 6 years ago
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.
6 years ago
David Wilson cb595b30d4 issue #16: rearrange Travis matrix and add Python 3.6 target for core tests 7 years ago
David Wilson 83617ad192 issue #275: tests: cache virtualenvs too 7 years ago
David Wilson 4649e11da3 issue #275: Travis build matrix from hell.
dev_requirements.txt:
- drop debops, it's not available for Python2.6
7 years ago
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.
7 years ago
David Wilson c00e7ed367 tests: paralellize vanilla Ansible run. 7 years ago
David Wilson b2abe74ab6 issue #210: run DebOps under v2.5.1 too. 7 years ago
David Wilson 261f4397bb tests: rename debops mode, add extra centos/version targets 7 years ago
David Wilson 3f7dfd6344 tests: tidy up dross after fixing issue. 7 years ago
David Wilson c7e798e800 tests: stop burning CPU until this one job is fixed. 7 years ago
David Wilson 6df796c7b6 tests: fix Ansible jobs to run on Debian/CentOS images too. 7 years ago
David Wilson 15e30e8ac5 tests: Add a Travis target for CentOS images. 7 years ago
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.
7 years ago
David Wilson de5028ac18 issue #164: arrange for DebOps common.yml to run under Travis. 7 years ago
Alex Willmer f92d88c241 travis: Cache wheels and other pip artifacts
Should speedup builds
7 years ago
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.
7 years ago
David Wilson 6118d4e6df tests: set MITOGEN_LOG_LEVEL=debug in .travis.yml too. 7 years ago
David Wilson 4f934465b3 Remove overall build timeout from .travis.yml. 7 years ago
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.
7 years ago
David Wilson 8cabba6965 Add first_stage_test to Travis. 7 years ago
David Wilson 32cf2e1a97 Sort .travis.yml 7 years ago
David Wilson 12423566da Bump time allowance for fakessh_test 7 years ago
David Wilson 419c8c810f Bump time allowance for ssh_test. 7 years ago