blob: 4cb99439cee5fdeaea32f42472d401132e99963e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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"
|