mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
simplify travis build for now
This commit is contained in:
parent
38cb446e3e
commit
3215e3a472
28
.travis.yml
28
.travis.yml
|
@ -17,30 +17,11 @@ matrix:
|
||||||
sources:
|
sources:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
- g++-4.9
|
- g++
|
||||||
- python-pip
|
|
||||||
before_script:
|
|
||||||
- pip install --user git+git://github.com/eddyxu/cpp-coveralls.git
|
|
||||||
env:
|
env:
|
||||||
- COMPILER=g++-4.9
|
- COMPILER=g++
|
||||||
- COVERAGE=ON
|
|
||||||
- STATIC=ON
|
|
||||||
- SAMPLES=OFF
|
|
||||||
- BENCHMARKS=OFF
|
|
||||||
|
|
||||||
- os: linux
|
|
||||||
compiler: gcc
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- ubuntu-toolchain-r-test
|
|
||||||
packages:
|
|
||||||
- g++-5
|
|
||||||
- valgrind
|
|
||||||
env:
|
|
||||||
- COMPILER=g++-5
|
|
||||||
- COVERAGE=OFF
|
- COVERAGE=OFF
|
||||||
- STATIC=OFF
|
- STATIC=ON
|
||||||
- SAMPLES=ON
|
- SAMPLES=ON
|
||||||
- BENCHMARKS=ON
|
- BENCHMARKS=ON
|
||||||
|
|
||||||
|
@ -50,6 +31,3 @@ script:
|
||||||
- cmake -D STATIC=$STATIC -D BENCHMARKS=$BENCHMARKS -D SAMPLES=$SAMPLES -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug ..
|
- cmake -D STATIC=$STATIC -D BENCHMARKS=$BENCHMARKS -D SAMPLES=$SAMPLES -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug ..
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
- cd bin && ./xlnt.test
|
- cd bin && ./xlnt.test
|
||||||
- cd ..
|
|
||||||
- find source/CMakeFiles/xlnt.dir
|
|
||||||
- if [ "$COMPILER" = "g++4.9" ]; then coveralls --root source/CMakeFiles/xlnt.dir --verbose -x ".cpp" --gcov-options '\-p' ; fi
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user