Set up Bitbucket pipelines for automatic testing of Julia packages



I am trying to setup automatic testing (on each commit) for a package hosted on Bitbucket. Something like what Trevis-CI does for packages in Github. I think it should use Bitbucket pipelines somehow, but I have no idea how to set it up. Anyone knows how to do this?

Does Julia support other git repos, like BitBucket?