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

Commit6f0eba7

Browse files
committed
Merge pull request#412 from leecoder/0.11-devel
Merge .travis.yml from master to 0.11-devel
2 parentse484aa2 +52466d9 commit6f0eba7

File tree

1 file changed

+36
-11
lines changed

1 file changed

+36
-11
lines changed

‎.travis.yml

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,42 @@
1-
language:cpp
1+
language:
2+
-cpp
3+
24
compiler:
3-
-gcc
4-
-clang
5-
env:BOOST_ROOT=$TRAVIS_BUILD_DIR/../boost_1_55_0
5+
-gcc
6+
-clang
7+
8+
env:
9+
-BOOST_VER=1.54.0 BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Release"
10+
-BOOST_VER=1.54.0 BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Release"
11+
-BOOST_VER=1.54.0 BUILD_SHARED_LIBS="ON" CMAKE_BUILD_TYPE="Debug"
12+
-BOOST_VER=1.54.0 BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Debug"
613

714
before_install:
8-
-curl -s http://cznic.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2|tar xfj - -C ..
15+
-if [ "${CXX}" == "g++" ] || [ ${BUILD_SHARED_LIBS} = "OFF" ]; then
16+
sudo add-apt-repository ppa:boost-latest/ppa --yes;
17+
sudo apt-get update;
18+
fi
19+
-if [ "${CXX}" == "clang++" ] && [ ${BUILD_SHARED_LIBS} = "ON" ]; then
20+
curl -s http://cznic.dl.sourceforge.net/project/boost/boost/${BOOST_VER}/boost_${BOOST_VER//./_}.tar.bz2|tar xfj - -C ..;
21+
export BOOST_ROOT=$TRAVIS_BUILD_DIR/../boost_${BOOST_VER//./_};
22+
fi
23+
924
install:
10-
-cd $BOOST_ROOT
11-
-./bootstrap.sh --with-toolset=$CC
12-
-./b2 -j4 --stagedir=.
13-
-cd -
25+
-if [ "${CXX}" == "g++" ] || [ ${BUILD_SHARED_LIBS} = "OFF" ]; then
26+
sudo apt-get install libboost${BOOST_VER/%.0/}-all-dev;
27+
fi
28+
-if [ "${CXX}" == "clang++" ] && [ ${BUILD_SHARED_LIBS} = "ON" ]; then
29+
cd $BOOST_ROOT;
30+
./bootstrap.sh --with-toolset=$CC;
31+
./b2 -j4 --stagedir=.;
32+
cd -;
33+
fi
1434

1535
script:
16-
-cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX
17-
-make all test
36+
-cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
37+
-DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
38+
-make
39+
-make test
40+
41+
after_failure:
42+
-cat Testing/Temporary/LastTest.log

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp