diff options
| author | Adam Hupp <adam@hupp.org> | 2020-05-05 19:07:57 -0700 |
|---|---|---|
| committer | Adam Hupp <adam@hupp.org> | 2020-05-05 19:23:02 -0700 |
| commit | d022a14201ab18e5e9adaed813286d63f8b214ea (patch) | |
| tree | dd44d83744f31255abc53681406cac544f82f451 | |
| parent | 406ca1c736ce961b71b1868464c8fe61418292a8 (diff) | |
| download | python-magic-d022a14201ab18e5e9adaed813286d63f8b214ea.tar.gz | |
Add docker tests for centos7 & 8
Since we have some breakage due to incompatible libraries there
| -rw-r--r-- | test/Dockerfile_centos7 | 5 | ||||
| -rw-r--r-- | test/Dockerfile_centos8 | 5 | ||||
| -rwxr-xr-x | test_docker.sh | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/test/Dockerfile_centos7 b/test/Dockerfile_centos7 new file mode 100644 index 0000000..8620e7e --- /dev/null +++ b/test/Dockerfile_centos7 @@ -0,0 +1,5 @@ +FROM centos:7 +RUN yum -y update +RUN yum -y install file-devel python3 python2 which +COPY . /python-magic +CMD cd /python-magic/test && python3 ./run.py diff --git a/test/Dockerfile_centos8 b/test/Dockerfile_centos8 new file mode 100644 index 0000000..505221b --- /dev/null +++ b/test/Dockerfile_centos8 @@ -0,0 +1,5 @@ +FROM centos:8 +RUN yum -y update +RUN yum -y install file-libs python3 python2 which +COPY . /python-magic +CMD cd /python-magic/test && python3 ./run.py diff --git a/test_docker.sh b/test_docker.sh index 4cb9943..69220ed 100755 --- a/test_docker.sh +++ b/test_docker.sh @@ -15,4 +15,7 @@ function TestInContainer { TestInContainer "xenial" TestInContainer "bionic" TestInContainer "focal" +TestInContainer "centos7" +TestInContainer "centos8" + |
