From 93c2215e2fbe7900ef8a14d1697f6cdd9730cb2e Mon Sep 17 00:00:00 2001 From: Tomas Lycken Date: Thu, 28 Aug 2014 16:09:26 +0200 Subject: [PATCH 1/2] Install with Pkg.clone(pwd()) instead of ln -s After seeing the message [here](https://groups.google.com/forum/?fromgroups=#!topic/julia-users/Kt2KtQm2O1Q) I wanted to see if installing the package differently would help. Since a PR triggers Travis, this was the easiest way to check my assumption :P --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63e2c47..71c1e27 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,7 @@ before_install: script: - julia -e 'Pkg.init()' - julia -e 'Pkg.add("BinDeps"); Pkg.checkout("BinDeps")' # latest master needed for Pacman support - - julia -e 'run(`ln -s $(pwd()) $(Pkg.dir("AudioIO"))`)' - - julia -e 'Pkg.pin("AudioIO"); Pkg.resolve(); Pkg.build("AudioIO")' + - julia -e 'Pkg.clone(pwd()); Pkg.build("AudioIO")' - julia -e 'Pkg.test("AudioIO", coverage=true)' after_success: - if [ $JULIAVERSION = "juliareleases" ]; then julia -e 'cd(Pkg.dir("AudioIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi From e9483f1782de20c76713da638f6f3e7d955282e5 Mon Sep 17 00:00:00 2001 From: Tomas Lycken Date: Thu, 28 Aug 2014 16:16:30 +0200 Subject: [PATCH 2/2] Fetch unshallow --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 71c1e27..b112196 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ before_install: - sudo add-apt-repository ppa:staticfloat/$JULIAVERSION -y - sudo apt-get update -qq -y - sudo apt-get install libpcre3-dev julia -y + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi script: - julia -e 'Pkg.init()' - julia -e 'Pkg.add("BinDeps"); Pkg.checkout("BinDeps")' # latest master needed for Pacman support