Add .travis.yml

This contains Linux, macOS and iOS so far, with various flag
combinations and 32-bit and 64-bit.