Added Travis CI

This commit is contained in:
Sebastian Messmer 2015-02-20 02:01:03 +01:00
parent cccc39b5f6
commit 727b5f5e9c
4 changed files with 31 additions and 5 deletions

25
.travis.yml Normal file
View File

@ -0,0 +1,25 @@
language: cpp
compiler:
- gcc
install:
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/update_gcc_version.sh && chmod +x update_gcc_version.sh
&& ./update_gcc_version.sh 4.9
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/install_boost.sh && chmod +x install_boost.sh
&& ./install_boost.sh libboost-filesystem1.55-dev libboost-system1.55-dev
- sudo apt-get install libfuse-dev
before_script:
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/setup_biicode_project.py && chmod +x setup_biicode_project.py
&& ./setup_biicode_project.py
script:
- bii find
- bii cpp:configure
- bii cpp:build
- wget https://raw.githubusercontent.com/smessmer/travis-utils/master/run_with_fuse.sh && chmod +x run_with_fuse.sh
&& ./run_with_fuse.sh ../../../bin/messmer_fspp_test_main
deploy:
provider: biicode
user: ${BII_USERNAME}
password:
secure: ${BII_PASSWORD}
on:
branch: develop

View File

@ -1,2 +1,2 @@
# fspp
# fspp [![Build Status](https://travis-ci.org/smessmer/fspp.svg?branch=master)](https://travis-ci.org/smessmer/fspp)
Library for implementing platform-independent filesystems

View File

@ -3,9 +3,9 @@
[requirements]
google/gmock: 2
google/gtest: 10
messmer/cmake: 1
messmer/cpp-utils
messmer/tempfile
messmer/cmake: 3
messmer/cpp-utils: 2
messmer/tempfile: 4
[parent]
messmer/fspp: 0

View File

@ -56,7 +56,8 @@ TEST_F(FuseReadDirReturnTest, ReturnedDirEntriesAreCorrect_LargeDir1000) {
// If using this with GTest Value-Parametrized TEST_P, it breaks some other unrelated tests
// (probably because it is doing a lot of construction work on the start of the test program)
TEST_F(FuseReadDirReturnTest, ReturnedDirEntriesAreCorrect_LargeDir1000000) {
// DISABLED, because it uses a lot of memory
TEST_F(FuseReadDirReturnTest, DISABLED_ReturnedDirEntriesAreCorrect_LargeDir1000000) {
auto direntries = LARGE_DIR(1000000);
testDirEntriesAreCorrect(*direntries);
}