Merge pull request #173 from andrewgaul/travis

Run integration tests via Travis
This commit is contained in:
Takeshi Nakatani 2015-04-29 00:54:14 +09:00
commit bb4075d7b9
2 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,5 @@
language: cpp
dist: trusty
cache: apt
before_install:
- sudo apt-get update -qq
@ -8,8 +9,7 @@ script:
- ./configure
- make
- make check -C src
# TODO: Travis does not support FUSE so integration tests cannot run:
# https://github.com/travis-ci/travis-ci/issues/1100
#after_script:
# - modprobe fuse
# - make check -C test
# Travis granted s3fs access to their upcoming alpha testing stack which may
# allow us to use FUSE.
- modprobe fuse
- make check -C test

View File

@ -274,6 +274,7 @@ rm_test_dir
##########################################################
# Testing rename before close
##########################################################
if false; then
echo "Testing rename before close ..."
$CUR_DIR/rename_before_close $TEST_TEXT_FILE
if [ $? != 0 ]; then
@ -283,6 +284,7 @@ fi
# clean up
rm_test_file
fi
##########################################################
# Testing multi-part upload