Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Merge .travis.yml from master to 0.11-devel#412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 2 commits intocpp-netlib:0.11-develfromleecoder:0.11-devel
Jul 17, 2014
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
Added .travis.yml
  • Loading branch information
@glynos@leecoder
glynos authored andleecoder committedJul 9, 2014
commita63a417e5b9e02d681f4411ed9fa4a0e1d4ee565
43 changes: 32 additions & 11 deletions.travis.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,38 @@
language: cpp
language:
- cpp

compiler:
- gcc
- clang
env: BOOST_ROOT=$TRAVIS_BUILD_DIR/../boost_1_55_0
- clang
- gcc

env:
- BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Release"
- BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Release"
- BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Debug"
- BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Debug"

before_install:
- curl -s http://cznic.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2|tar xfj - -C ..
- sudo add-apt-repository ppa:apokluda/boost1.53 --yes
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes # libstdc++-4.8
- if [ "${CXX}" == "clang++" ]; then sudo add-apt-repository --yes ppa:h-rayflood/llvm; fi # clang++-3.2
- sudo apt-get update

install:
- cd $BOOST_ROOT
- ./bootstrap.sh --with-toolset=$CC
- ./b2 -j4 --stagedir=.
- cd -
- if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.2; fi
- sudo apt-get install g++-4.8; # clang need it for libstdc++ update
- sudo apt-get install libboost-system1.53-dev
- sudo apt-get install libboost-regex1.53-dev
- sudo apt-get install libboost-filesystem1.53-dev

before_script:
# update compilers
- if [ "${CXX}" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- if [ "${CXX}" == "clang++" ]; then export CXX="clang++-3.2" CC="clang-3.2"; fi

script:
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX
- make all test
- mkdir _build
- cd _build
# Note: clang not support libc++
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} -DCPP-NETLIB_DISABLE_LIBCXX=YES -DCPP-NETLIB_DISABLE_FEATURE_TESTS=YES ..
- make
- make test

[8]ページ先頭

©2009-2025 Movatter.jp