core: add Travis CI builds with Python 3 and without GnuTLS