Skip to content

Commit

Permalink
Add new Docker images to Travis matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyWeeUsr committed Nov 5, 2018
1 parent 73fd145 commit 3072cf4
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions .travis.yml
Expand Up @@ -6,17 +6,37 @@ services:
matrix:
fast_finish: true
include:
- env: DOCK=1 PY=2 RUN=unit
- env: DOCK=1 IMAGE=bionic PY=2 RUN=unit
python: 2.7
os: linux
dist: trusty

- env: DOCK=1 PY=3 RUN=unit COVERALLS=1
- env: DOCK=1 IMAGE=bionic PY=3 RUN=unit COVERALLS=1
python: 3.5
os: linux
dist: trusty

- env: DOCK=1 PY=3 RUN=style
- env: DOCK=1 IMAGE=bionic PY=3 RUN=style
python: 3.5
os: linux
dist: trusty

- env: DOCK=1 IMAGE=fedora28 PY=2 RUN=unit
python: 2.7
os: linux
dist: trusty

- env: DOCK=1 IMAGE=fedora28 PY=3 RUN=unit
python: 3.5
os: linux
dist: trusty

- env: DOCK=1 IMAGE=archlinux PY=2 RUN=unit
python: 2.7
os: linux
dist: trusty

- env: DOCK=1 IMAGE=archlinux PY=3 RUN=unit
python: 3.5
os: linux
dist: trusty
Expand Down Expand Up @@ -60,18 +80,20 @@ install:
if [ "$PY" == "2" ]; then
docker build
--tag plyer:py2
--file Dockerfile.bionic.py2
--file Dockerfile.$IMAGE.py2
"$(pwd)";
elif [ "$PY" == "3" ]; then
docker build
--tag plyer:py3
--file Dockerfile.bionic.py3
--file Dockerfile.$IMAGE.py3
"$(pwd)";

docker build
--tag plyer:style
--file Dockerfile.bionic.style
"$(pwd)";
if [ "$RUN" == "style" ]; then
docker build
--tag plyer:style
--file Dockerfile.$IMAGE.style
"$(pwd)";
fi;
fi;
fi;

Expand Down

0 comments on commit 3072cf4

Please sign in to comment.