Skip to content
Permalink
Browse files

tests: Add support for Fedora 29

  • Loading branch information...
tbabej authored and pbeckingham committed Jan 1, 2019
1 parent 9518cdc commit ea2c4d96b44fd985e011bf4dc9685deffff2e3bb
Showing with 38 additions and 0 deletions.
  1. +4 −0 .travis.yml
  2. +8 −0 docker-compose.yml
  3. +26 −0 test/docker/fedora29
@@ -6,6 +6,10 @@ matrix:
os: linux
env: CONTAINER=fedora28
services: docker
- name: "Fedora 29"
os: linux
env: CONTAINER=fedora28
services: docker
- name: "Debian Stable"
os: linux
env: CONTAINER=debianstable
@@ -8,6 +8,14 @@ services:
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora29:
build:
context: .
dockerfile: test/docker/fedora29
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-ubuntu1604:
build:
context: .
@@ -0,0 +1,26 @@
FROM fedora:29

RUN dnf update -y
RUN dnf install python git gcc gcc-c++ cmake make gnutls-devel libuuid-devel -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 ; cat all.log | grep 'not ok' ; ./problems"]

0 comments on commit ea2c4d9

Please sign in to comment.
You can’t perform that action at this time.