Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rockandska committed Feb 15, 2019
0 parents commit 80786c5
Show file tree
Hide file tree
Showing 36 changed files with 1,668 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.swp
*.swo
*.idea
.vagrant/
*.retry
*.log
*.swp
*.swo
*.idea
.molecule
.cache
__pycache__/
.pytest_cache
.tox
molecule/*/roles/
50 changes: 50 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
sudo: required
language: python
cache: pip
services:
- docker
matrix:
fast_finish: true

stages:
- name: tests
- name: mkrelease
if: |
branch = master \
AND type != pull_request
jobs:
include:

- &test-tox
stage: tests
install:
- pip install tox-travis
script: tox
env:
- ANSIBLE=2.5

- <<: *test-tox
env:
- ANSIBLE=2.6

- <<: *test-tox
env:
- ANSIBLE=2.7

- stage: mkrelease
install:
- pip install git-semver ansible
- wget --quiet -O /tmp/mkrelease.sh https://raw.githubusercontent.com/rockandska/scripts/${MKRELEASE_REF:-master}/CI/mkrelease.sh
- chmod +x /tmp/mkrelease.sh
- wget --quiet -O /tmp/pubrelease.sh https://raw.githubusercontent.com/rockandska/scripts/${PUBRELEASE_REF:-master}/CI/pubrelease.sh
- chmod +x /tmp/pubrelease.sh
script:
- export TRAVIS_TAG=$(/tmp/mkrelease.sh)
deploy:
provider: script
script: /tmp/pubrelease.sh ansible-galaxy
skip_cleanup: true
on:
tags: true
Empty file added CHANGELOG.md
Empty file.
Loading

0 comments on commit 80786c5

Please sign in to comment.