-
Notifications
You must be signed in to change notification settings - Fork 656
/
.travis.yml
24 lines (24 loc) · 907 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: cpp
compiler: gcc
env:
global:
- secure: "dRimnJVfqg6IPK758/R+CDeArbtV4yT387ZgJvJLCnKPKC7CZmtVz4xNH+ZQqFzRCDJBBCkpp/0p7Cq5u4f22d4TaAaGf3gK/2okvyNPCg0DUPvVP2LWzfP5pZSwX4/os5axWUGW6//8HDFWK37lQbuLNx+95m93CJP+3StNKzY="
matrix:
- PROTOBUF_VERSION=2.6.0
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
install:
- sh -x ./build.sh
- git clone https://github.com/google/googletest.git
script:
- make -j4 && make install
- make -C unit-test -j4 && cd unit-test && ./run_test.sh
addons:
coverity_scan:
project:
name: "baidu/sofa-pbrpc"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "make clean"
build_command: "make -j 4"
branch_pattern: master