travis: run tests from inside VM + support test execution outside of Travis CI
authorMichael Prokop <mika@grml.org>
Wed, 25 Jul 2018 17:51:03 +0000 (19:51 +0200)
committerMichael Prokop <mika@grml.org>
Sun, 29 Jul 2018 11:52:57 +0000 (13:52 +0200)
commitb8f3c830f22b6a2cc74cf94166864d87c03c5f65
treeacddaeb384cd4e2eebea7a7e9929f3cbe7a0ee1a
parent361865654f56f29af19d6d32d48278bbe838c2de
travis: run tests from inside VM + support test execution outside of Travis CI

This is a big improvement, because we can now communicate with
the running VM, including executing processes inside the VM, like
running goss directly from inside the VM.

While at it also adjust travis/execute.sh to be able to run it
*locally* as well. We now don't have to necessarily push to Travis
CI, which also serves to be useful when developing new features.

Thanks: Christian Hofstaedtler <zeha@debian.org> for helping me with the serial console handling
travis/execute.sh
travis/goss.yaml
travis/serial-console-connection [new file with mode: 0755]