Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
b7f8e355
Commit
b7f8e355
authored
Aug 02, 2016
by
Eric
Committed by
Dominic Hamon
Aug 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update travis, squash history (#265)
parent
44128d87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
36 deletions
+7
-36
.travis-setup.sh
.travis-setup.sh
+0
-26
.travis.yml
.travis.yml
+7
-10
No files found.
.travis-setup.sh
deleted
100644 → 0
View file @
44128d87
#!/usr/bin/env bash
# Before install
sudo
add-apt-repository
-y
ppa:kalakris/cmake
if
[
"
$STD
"
=
"c++11"
]
;
then
sudo
add-apt-repository
-y
ppa:ubuntu-toolchain-r/test
if
[
"
$CXX
"
=
"clang++"
]
;
then
wget
-O
- http://llvm.org/apt/llvm-snapshot.gpg.key |
sudo
apt-key add -
sudo
add-apt-repository
-y
"deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main"
fi
fi
sudo
apt-get update
-qq
# Install
sudo
apt-get
install
-qq
cmake
if
[
"
$STD
"
=
"c++11"
]
&&
[
"
$CXX
"
=
"g++"
]
;
then
sudo
apt-get
install
-qq
gcc-4.8 g++-4.8
sudo
update-alternatives
--install
/usr/bin/gcc gcc /usr/bin/gcc-4.8 90
sudo
update-alternatives
--install
/usr/bin/g++ g++ /usr/bin/g++-4.8 90
elif
[
"
$CXX
"
=
"clang++"
]
;
then
sudo
apt-get
install
-qq
clang-3.6
sudo
update-alternatives
--install
/usr/local/bin/clang clang /usr/bin/clang-3.6 90
sudo
update-alternatives
--install
/usr/local/bin/clang++ clang++ /usr/bin/clang++-3.6 90
export
PATH
=
/usr/local/bin:
$PATH
fi
.travis.yml
View file @
b7f8e355
sudo
:
required
dist
:
trusty
language
:
cpp
# NOTE: The COMPILER variable is unused. It simply makes the display on
...
...
@@ -5,22 +7,17 @@ language: cpp
matrix
:
include
:
-
compiler
:
gcc
env
:
COMPILER=g++-4.6 STD=c++0x BUILD_TYPE=Coverage
-
compiler
:
gcc
env
:
COMPILER=g++-4.6 STD=c++0x BUILD_TYPE=Debug
-
compiler
:
gcc
env
:
COMPILER=g++-4.6 STD=c++0x BUILD_TYPE=Release
env
:
COMPILER=g++ STD=c++11 BUILD_TYPE=Coverage
-
compiler
:
gcc
env
:
COMPILER=g++
-4.8
STD=c++11 BUILD_TYPE=Debug
env
:
COMPILER=g++
STD=c++11 BUILD_TYPE=Debug
-
compiler
:
gcc
env
:
COMPILER=g++
-4.8
STD=c++11 BUILD_TYPE=Release
env
:
COMPILER=g++
STD=c++11 BUILD_TYPE=Release
-
compiler
:
clang
env
:
COMPILER=clang++
-3.6
STD=c++11 BUILD_TYPE=Debug
env
:
COMPILER=clang++
STD=c++11 BUILD_TYPE=Debug
-
compiler
:
clang
env
:
COMPILER=clang++
-3.6
STD=c++11 BUILD_TYPE=Release
env
:
COMPILER=clang++
STD=c++11 BUILD_TYPE=Release
before_script
:
-
source .travis-setup.sh
-
mkdir build && cd build
install
:
...
...
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