Skip to content

Commit 9c9463f

Browse files
committed
Add Ubuntu 16.04
1 parent d2e59d8 commit 9c9463f

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ python:
88
- "2.7"
99
- "3.6"
1010
env:
11+
- >
12+
DISTRIBUTION=ubuntu
13+
DIST_VERSION=16.04
14+
MONGODB_VERSION=3.6
15+
- >
16+
DISTRIBUTION=ubuntu
17+
DIST_VERSION=16.04
18+
MONGODB_VERSION=3.4
19+
- >
20+
DISTRIBUTION=ubuntu
21+
DIST_VERSION=16.04
22+
MONGODB_VERSION=3.2
1123
- >
1224
DISTRIBUTION=ubuntu-upstart
1325
DIST_VERSION=14.04

tests/site.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,17 @@
1717
- mongo2
1818
- mongo3
1919

20+
- hosts: "{{ target }}"
21+
gather_facts: false
22+
tasks:
23+
- name: Install Python 2.x
24+
raw: test -e /usr/bin/python || (apt update && apt install -y python-minimal) || true
25+
register: test
26+
changed_when: test.stdout
27+
2028
- hosts: "{{ target }}"
2129
become: no
2230
gather_facts: yes
23-
2431
roles:
2532
- role: greendayonfire.mongodb
2633
when: "'mongo_master' in group_names"

0 commit comments

Comments
 (0)