Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
holmes1412 committed Mar 27, 2021
1 parent a2aca9b commit 0bbaeff
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: cpp
dist: trusty
os: linux
compiler:
- gcc

jobs:
include:
- env: COMPILER=g++-8 BUILD=Release STANDARD=11
compiler: gcc
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
- cmake
install:
- git clone https://github.com/protocolbuffers/protobuf.git -b v3.12.0
- cd protobuf
- sh autogen.sh
- ./configure
- make
- sudo make install
- cd ..
- export LD_LIBRARY_PATH=/usr/local/lib/:$LD_LIBRARY_PATH
script:
- make
- make tutorial
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://github.com/sogou/srpc/blob/master/LICENSE)
[![Language](https://img.shields.io/badge/language-c++-red.svg)](https://en.cppreference.com/)
[![Platform](https://img.shields.io/badge/platform-linux%20%7C%20macos%20%7C%20windows-lightgrey.svg)](https://img.shields.io/badge/platform-linux%20%7C%20macos%20%7C%20windows-lightgrey.svg)
[![Build Status](https://travis-ci.org/sogou/srpc.svg?branch=master)](https://travis-ci.org/sogou/srpc)

[Wiki:SRPC架构介绍](https://github.com/sogou/srpc/wiki)

Expand Down

0 comments on commit 0bbaeff

Please sign in to comment.