Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Stahr <dan.stahr@gmail.com>2017-08-12 23:48:15 +0300
committerDan Stahr <dan.stahr@gmail.com>2017-08-12 23:48:15 +0300
commitcb22b9c514eeb25120e3cddbb56e75d21b5b57d2 (patch)
treead9730bd42e87bce113c290eba8ab4592e57ca82 /.travis.yml
parent15c5c16bddce0ef87281a02431b23ae4512a33c3 (diff)
Move the tmp directory under home directory on Travis
Travis tmp dir is subject to garbage collection which interferes with the tests. This wasn't an issue before because the number and size of files was limited but becomes a problem with more workers preparing volume files.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index a7a26f3e0..76b366a51 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,9 +9,10 @@ addons:
username: $SAUCE_USERNAME
access_key: $SAUCE_ACCESS_KEY
env:
- general:
+ global:
- USAGEREPORTER_Duplicati_LEVEL=none
- AUTOUPDATER_Duplicati_SKIP_UPDATE=1
+ - TMPDIR=$HOME/tmp
matrix:
- JOB=job1
- JOB=job2
@@ -37,6 +38,7 @@ script:
# download and extract testdata
- echo "travis_fold:start:download_extract_testdata"
- ls -la .
+ - if [ ! -d ~/tmp ]; then mkdir ~/tmp; fi
- if [ ! -d ~/download ]; then mkdir ~/download; fi
- if [ ! -f ~/download/DSMCBE.zip ]; then wget "https://s3.amazonaws.com/duplicati-test-file-hosting/DSMCBE.zip" -O ~/download/DSMCBE.zip; fi
- if [ ! -f ~/download/data.zip ]; then wget "https://s3.amazonaws.com/duplicati-test-file-hosting/data.zip" -O ~/download/data.zip; fi
@@ -77,4 +79,4 @@ script:
# start server and run gui tests
- mono ./Duplicati/GUI/Duplicati.GUI.TrayIcon/bin/Release/Duplicati.Server.exe &
- if [[ "$JOB" == "job3" ]]; then python guiTests/guiTest.py; fi
- \ No newline at end of file
+