Re-add travis configuration and badge

Travis configuration was previously removed(@cf1dc613177) due to false negatives
caused by non-determinism in the test environment. This no longer seems to be an
issue, so this adds .travis.yml for automatic builds/tests on the supported
platforms.

Each script under the .ci directory is be responsible for building/testing a
single platform or configuration.