Skip to content

Commit 6186372

Browse files
committed
let`s go Travis!
1 parent c59964c commit 6186372

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ __pycache__/
66
# C extensions
77
*.so
88

9+
.molecule
910
# Distribution / packaging
1011
.Python
1112
env/

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
sudo: required
2+
language: python
3+
services:
4+
- docker
5+
6+
before_install:
7+
- sudo apt-get -qq update
8+
- sudo apt-get install -o Dpkg::Options::="--force-confold" --force-yes -y docker-engine
9+
10+
install:
11+
- pip install molecule ansible docker yamllint
12+
13+
script:
14+
- find . -name "*.yml" | xargs yamllint
15+
- molecule test
16+
17+
notifications:
18+
webhooks: https://galaxy.ansible.com/api/v1/notifications/

.yamllint

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
3+
extends: default
4+
5+
rules:
6+
braces:
7+
min-spaces-inside: 0
8+
max-spaces-inside: 0
9+
min-spaces-inside-empty: -1
10+
max-spaces-inside-empty: -1
11+
brackets:
12+
min-spaces-inside: 0
13+
max-spaces-inside: 0
14+
min-spaces-inside-empty: -1
15+
max-spaces-inside-empty: -1
16+
colons:
17+
max-spaces-before: 0
18+
max-spaces-after: 1
19+
commas:
20+
max-spaces-before: 0
21+
min-spaces-after: 1
22+
max-spaces-after: 1
23+
comments:
24+
level: warning
25+
require-starting-space: false
26+
min-spaces-from-content: 2
27+
comments-indentation: disable
28+
document-end: disable
29+
document-start: disable
30+
empty-lines:
31+
max: 2
32+
max-start: 0
33+
max-end: 0
34+
hyphens:
35+
max-spaces-after: 1
36+
indentation:
37+
spaces: consistent
38+
indent-sequences: true
39+
check-multi-line-strings: false
40+
key-duplicates: enable
41+
line-length:
42+
max: 250
43+
allow-non-breakable-words: true
44+
allow-non-breakable-inline-mappings: false
45+
new-line-at-end-of-file: enable
46+
new-lines:
47+
type: unix
48+
trailing-spaces: enable
49+
truthy: disable

0 commit comments

Comments
 (0)