Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.*
!.gitignore
!.appveyor.yml
!.travis.yml
build/
.build/
_build/
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
sudo: required

services:
- docker

before_script:
- cd tests
- docker build -t j-ulrich/http-status-codes -f Dockerfile ..

script:
- >
docker run j-ulrich/http-status-codes /bin/bash -c "
g++ --version
&& qmake --version
&& cd tests
&& mkdir _build
&& cd _build
&& cmake -DCMAKE_BUILD_TYPE=Release ..
&& make all
&& ctest --ouput-on-failure
"
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# HTTP Status Codes and Reason Phrases for C, C++ and Qt #

[![Build status](https://ci.appveyor.com/api/projects/status/ijp196mjo0vsover/branch/master?svg=true)](https://ci.appveyor.com/project/j-ulrich/http-status-codes-cpp/branch/master)
[![Linux build status](https://travis-ci.org/j-ulrich/http-status-codes-cpp.svg?branch=master)](https://travis-ci.org/j-ulrich/http-status-codes-cpp)
[![Windows build status](https://ci.appveyor.com/api/projects/status/ijp196mjo0vsover/branch/master?svg=true)](https://ci.appveyor.com/project/j-ulrich/http-status-codes-cpp/branch/master)


This repository provides the HTTP status codes and reason phrases in different variants for C/C++.
Expand All @@ -13,7 +14,7 @@ Data has been taken from [for-GET/know-your-http-well](https://github.com/for-GE

> - [Variants](#variants)
> - [Example](#example)
> - [Documentation](#examples)
> - [Documentation](#documentation)
> - [Status Codes Enum](#status-codes-enum)
> - [Category/Class Tests](#categoryclass-tests)
> - [Reason Phrases](#reason-phrases)
Expand Down
5 changes: 5 additions & 0 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM julrich/docker_qt:latest

RUN mkdir /build
COPY . /build
WORKDIR /build