How to implement CI on a repository hosted in BitBucket

Does anybody here has experience implementing CI on BitBucket-based repositories using Pipelines?

if so, can you share your bitbucket-pipelines.yml file?