Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
25693a82
Commit
25693a82
authored
Oct 24, 2017
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install clang in .travis.yml
parent
963be020
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
.travis.yml
.travis.yml
+10
-2
No files found.
.travis.yml
View file @
25693a82
language
:
cpp
sudo
:
required
compiler
:
-
clang
-
gcc
...
...
@@ -8,11 +10,17 @@ env:
-
PURPOSE=compile
-
PURPOSE=unittest
sudo
:
required
before_install
:
# clang 3.4
-
if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
-
sudo apt-get update -qq
install
:
# clang 3.4
-
if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
-
if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
-
sudo apt-get install -qq realpath libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev libgoogle-perftools-dev
-
sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo
CXX=$CXX CC=$CC
cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
-
sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
script
:
-
sh build_in_travis_ci.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment