Skip to content

Instantly share code, notes, and snippets.

@coaxial
Last active June 12, 2018 23:32
Show Gist options
  • Save coaxial/259c5976883f8ade709248ab3402d2d0 to your computer and use it in GitHub Desktop.
Save coaxial/259c5976883f8ade709248ab3402d2d0 to your computer and use it in GitHub Desktop.
# file stored at ~/.vim/UltiSnips/yaml.snippets
snippet trav ".travis.yml outline" b
---
jobs:
include:
- stage: test
language: ${1:python}
python: "${2:2.7}"
cache: ${3:pip}
${4:services:
- docker}
${5:install:
- pip install ansible
- pip install docker-py
- pip install molecule}
script:
- ${6:molecule test}
${7:notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/}
$0
endsnippet
snippet hi "test"
hello
endsnippet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment