blob: 57d532856d18fde429237c82e8adfef55940f35a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
# Test with various versions of ubuntu. This more or less re-creates the
# Travis CI test environment
set -e
function TestInContainer {
local name="$1"
local TAG="python_magic/${name}:latest"
docker build -t $TAG -f "test/Dockerfile_${name}" .
docker run "python_magic/${name}:latest"
}
TestInContainer "xenial"
TestInContainer "bionic"
TestInContainer "focal"
TestInContainer "centos7"
TestInContainer "centos8"
TestInContainer "archlinux"
TestInContainer "alpine"
|