Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,24 @@ language: bash
services: docker

env:
- VERSION=2.8 LATEST=true
- VERSION=2.5
- VERSION=2.4 LATEST=true
- VERSION=2.3
- VERSION=2.2
- VERSION=2.0
- VERSION=1.9

before_install:
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats

before_script:
- env | sort
- export IMAGE="mini/ansible:${VERSION}"

script:
- |
(
set -Eeuo pipefail
set -x
travis_retry docker build -t "$IMAGE" $VERSION/
docker pull "$IMAGE" || true
travis_retry docker build --cache-from "$IMAGE" -t "$IMAGE" $VERSION/
IMAGE=$IMAGE VERSION=$VERSION bats tests/
)

Expand Down
38 changes: 0 additions & 38 deletions 1.9/Dockerfile

This file was deleted.

38 changes: 0 additions & 38 deletions 2.0/Dockerfile

This file was deleted.

38 changes: 0 additions & 38 deletions 2.2/Dockerfile

This file was deleted.

38 changes: 0 additions & 38 deletions 2.3/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions 2.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Latest Python 2.x using latest Alpine 3.7
FROM python:2-alpine3.7
FROM python:2-alpine3.9

# default playbook directory
WORKDIR /data

ENV ANSIBLE_VERSION 2.5.0
ENV ANSIBLE_VERSION 2.5.15

# install general runtime dependencies
RUN set -ex \
Expand Down
6 changes: 3 additions & 3 deletions 2.4/Dockerfile → 2.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Latest Python 2.x using latest Alpine 3.7
FROM python:2-alpine3.7
# Latest Python 2.x using latest Alpine 3.9
FROM python:2-alpine3.9

# default playbook directory
WORKDIR /data

ENV ANSIBLE_VERSION 2.4.4
ENV ANSIBLE_VERSION 2.8.1

# install general runtime dependencies
RUN set -ex \
Expand Down