Skip to content

Commit f7cc7e9

Browse files
committed
Use builded 16.04 image
1 parent 0e7dbda commit f7cc7e9

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ sudo: required
66
language: python
77
python:
88
- "2.7"
9-
- "3.6"
109
env:
1110
- >
1211
DISTRIBUTION=ubuntu
13-
DIST_VERSION=16.04
12+
DIST_VERSION=16_04-builded
1413
MONGODB_VERSION=3.6
1514
- >
1615
DISTRIBUTION=ubuntu
17-
DIST_VERSION=16.04
16+
DIST_VERSION=16_04-builded
1817
MONGODB_VERSION=3.4
1918
- >
2019
DISTRIBUTION=ubuntu
21-
DIST_VERSION=16.04
20+
DIST_VERSION=16_04-builded
2221
MONGODB_VERSION=3.2
2322
- >
2423
DISTRIBUTION=ubuntu-upstart
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ubuntu:16.04
2+
3+
ARG DEBIAN_FRONTEND=noninteractive
4+
5+
RUN apt update && \
6+
apt install --yes python-minimal && \
7+
rm /lib/systemd/system/[email protected]

tests/site.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
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-
2820
- hosts: "{{ target }}"
2921
become: no
3022
gather_facts: yes

0 commit comments

Comments
 (0)