mirror of
https://github.com/deajan/osync
synced 2024-11-07 15:20:26 +00:00
Help..travis is killing me
This commit is contained in:
parent
888309f420
commit
5438941c88
@ -305,13 +305,13 @@ function test_Merge () {
|
||||
# Set osync version to stable while testing to avoid warning message
|
||||
# Don't use SetConfFileValue here since for whatever reason Travis does not like creating a sed temporary file in $FAKEROOT
|
||||
|
||||
#if [ "$TRAVIS_RUN" == true ]; then
|
||||
# $SUDO_CMD sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
||||
#else
|
||||
# sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
||||
#fi
|
||||
#head -n 20 $OSYNC_EXECUTABLE
|
||||
SetConfFileValue "$OSYNC_EXECUTABLE" "IS_STABLE" "yes"
|
||||
if [ "$TRAVIS_RUN" == true ]; then
|
||||
$SUDO_CMD sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
||||
else
|
||||
sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
||||
fi
|
||||
head -n 20 $OSYNC_EXECUTABLE
|
||||
#SetConfFileValue "$OSYNC_EXECUTABLE" "IS_STABLE" "yes"
|
||||
|
||||
|
||||
assertEquals "Install failed" "0" $?
|
||||
|
Loading…
Reference in New Issue
Block a user