mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
ci: Replace F28 and F29 with F31, F32 and F33
This commit is contained in:
parent
88ea8544f6
commit
53e39760ab
5 changed files with 50 additions and 12 deletions
12
.travis.yml
12
.travis.yml
|
@ -6,13 +6,17 @@ matrix:
|
|||
os: linux
|
||||
env: CONTAINER=centos7
|
||||
services: docker
|
||||
- name: "Fedora 28"
|
||||
- name: "Fedora 31"
|
||||
os: linux
|
||||
env: CONTAINER=fedora28
|
||||
env: CONTAINER=fedora31
|
||||
services: docker
|
||||
- name: "Fedora 29"
|
||||
- name: "Fedora 32"
|
||||
os: linux
|
||||
env: CONTAINER=fedora28
|
||||
env: CONTAINER=fedora32
|
||||
services: docker
|
||||
- name: "Fedora 33"
|
||||
os: linux
|
||||
env: CONTAINER=fedora33
|
||||
services: docker
|
||||
- name: "Debian Stable"
|
||||
os: linux
|
||||
|
|
|
@ -8,18 +8,26 @@ services:
|
|||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-fedora28:
|
||||
test-fedora31:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/fedora28
|
||||
dockerfile: test/docker/fedora31
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-fedora29:
|
||||
test-fedora32:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/fedora29
|
||||
dockerfile: test/docker/fedora32
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-fedora33:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/fedora33
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM fedora:28
|
||||
FROM fedora:31
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime -y
|
||||
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y
|
||||
|
||||
# Setup language environment
|
||||
ENV LC_ALL en_US.UTF-8
|
|
@ -1,7 +1,7 @@
|
|||
FROM fedora:29
|
||||
FROM fedora:32
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime -y
|
||||
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y
|
||||
|
||||
# Setup language environment
|
||||
ENV LC_ALL en_US.UTF-8
|
26
test/docker/fedora33
Normal file
26
test/docker/fedora33
Normal file
|
@ -0,0 +1,26 @@
|
|||
FROM fedora:33
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install python3 git gcc gcc-c++ cmake make gnutls-devel libuuid-devel libfaketime glibc-langpack-en -y
|
||||
|
||||
# Setup language environment
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US.UTF-8
|
||||
|
||||
# Setup taskwarrior
|
||||
ADD . /root/code/
|
||||
WORKDIR /root/code/
|
||||
RUN git clean -dfx
|
||||
RUN git submodule init
|
||||
RUN git submodule update
|
||||
RUN cmake -DCMAKE_BUILD_TYPE=debug .
|
||||
RUN make -j2
|
||||
RUN make install
|
||||
RUN task --version
|
||||
|
||||
# Setup tests
|
||||
WORKDIR /root/code/test/
|
||||
RUN make
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems"]
|
Loading…
Add table
Add a link
Reference in a new issue