diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2018-05-05 23:20:29 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2018-05-05 23:47:28 +0300 |
commit | 7693d2e86fe26e412beefc63d3a5b73827a977bf (patch) | |
tree | 975bf1bd3cbccab08bd78272c45b0c23b3c4d00b /.travis.yml | |
parent | f8c67cde335d5d5cf506dba2e92c67640eded4ac (diff) |
Use environment variable to get Travis build directory.
This makes it possible for users to run the builds in their own Travis
accounts.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 69f75233b..da77661a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ install: - nuget restore Duplicati.sln - nuget install NUnit.Runners -Version 3.5.0 -OutputDirectory testrunner - sudo pip install selenium - - if [ ! -d ~/build/duplicati/duplicati/packages/SharpCompress.0.18.2 ]; then ln -s ~/build/duplicati/duplicati/packages/sharpcompress.0.18.2 ~/build/duplicati/duplicati/packages/SharpCompress.0.18.2; fi + - if [ ! -d "${TRAVIS_BUILD_DIR}"/packages/SharpCompress.0.18.2 ]; then ln -s "${TRAVIS_BUILD_DIR}"/packages/sharpcompress.0.18.2 "${TRAVIS_BUILD_DIR}"/packages/SharpCompress.0.18.2; fi addons: coverity_scan: project: @@ -65,7 +65,7 @@ before_install: script: # build duplicati - - ls -la ~/build/duplicati/duplicati/packages/ + - ls -la "${TRAVIS_BUILD_DIR}"/packages/ - echo "travis_fold:start:build_duplicati" - msbuild /p:Configuration=Release Duplicati.sln - echo "travis_fold:end:build_duplicati" |