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
35c29c7d
Commit
35c29c7d
authored
Nov 12, 2014
by
Evgeny Safronov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added c++11 support for Travis.
parent
e4d41f8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
10 deletions
+36
-10
.travis.yml
.travis.yml
+36
-10
No files found.
.travis.yml
View file @
35c29c7d
os
:
matrix
:
-
linux
include
:
-
os
:
linux
env
:
env
:
SUITE=tests BUILD_TYPE=Debug STD=c++0x
-
SUITE=tests BUILD_TYPE=Debug
-
os
:
linux
-
SUITE=tests BUILD_TYPE=Release
env
:
SUITE=tests BUILD_TYPE=Debug STD=c++11
-
SUITE=examples BUILD_TYPE=Debug
-
os
:
linux
-
SUITE=examples BUILD_TYPE=Release
env
:
SUITE=tests BUILD_TYPE=Release STD=c++0x
-
os
:
linux
env
:
SUITE=tests BUILD_TYPE=Release STD=c++11
-
os
:
linux
env
:
SUITE=examples BUILD_TYPE=Debug STD=c++0x
-
os
:
linux
env
:
SUITE=examples BUILD_TYPE=Debug STD=c++11
-
os
:
linux
env
:
SUITE=examples BUILD_TYPE=Release STD=c++0x
-
os
:
linux
env
:
SUITE=examples BUILD_TYPE=Release STD=c++11
-
os
:
osx
env
:
SUITE=tests BUILD_TYPE=Debug STD=c++11
-
os
:
osx
env
:
SUITE=tests BUILD_TYPE=Release STD=c++11
-
os
:
osx
env
:
SUITE=examples BUILD_TYPE=Debug STD=c++11
-
os
:
osx
env
:
SUITE=examples BUILD_TYPE=Release STD=c++11
language
:
language
:
-
cpp
-
cpp
before_install
:
-
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
-
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo apt-get update -qq; fi
install
:
-
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo apt-get install -qq gcc-4.8 g++-4.8; fi
-
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$STD" = "c++11" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
before_script
:
before_script
:
-
mkdir build && cd build
-
mkdir build && cd build
script
:
script
:
-
cmake .. -D
BUILD_TYPE=${BUILD_TYPE}
-
cmake .. -D
CMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_FLAGS="-std=${STD}"
-
make
-
make
-
if [ "$SUITE" = "tests" ]; then ./test/re_test; fi
-
if [ "$SUITE" = "tests" ]; then ./test/re_test; fi
-
if [ "$SUITE" = "examples"]; then ./test/benchmark_test; fi
-
if [ "$SUITE" = "examples"
]; then ./test/benchmark_test; fi
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