Commit Graph

11 Commits

Author SHA1 Message Date
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