From f359abee864e77f8470134e359b049da0588947d Mon Sep 17 00:00:00 2001 From: jandai Date: Tue, 5 Jan 2021 23:30:56 +0800 Subject: [PATCH] add travis ci --- .travis.yml | 27 +++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..03d8539 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,27 @@ +language: cpp +dist: trusty +os: linux +compiler: + - gcc + +jobs: + include: + - env: COMPILER=g++-8 BUILD=Release STANDARD=17 + compiler: gcc + addons: + apt: + update: true + sources: + - sourceline: 'ppa:mhier/libboost-latest' + - ubuntu-toolchain-r-test + packages: + - g++-8 + - boost1.67 + - cmake + +script: + - cd examples + - mkdir build + - cd build + - cmake .. + - make diff --git a/README.md b/README.md index 0626e20..0779954 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # rest_rpc +[![Build Status](https://travis-ci.org/qicosmos/rest_rpc.svg?branch=master)](https://travis-ci.org/qicosmos/rest_rpc) + c++11, high performance, cross platform, easy to use rpc framework. It's so easy to love RPC.