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
This commit is contained in:
Tomas Lycken 2014-08-28 16:09:26 +02:00
parent ae76badebb
commit 93c2215e2f

View file

@ -14,8 +14,7 @@ before_install:
script: script:
- julia -e 'Pkg.init()' - julia -e 'Pkg.init()'
- julia -e 'Pkg.add("BinDeps"); Pkg.checkout("BinDeps")' # latest master needed for Pacman support - 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.clone(pwd()); Pkg.build("AudioIO")'
- julia -e 'Pkg.pin("AudioIO"); Pkg.resolve(); Pkg.build("AudioIO")'
- julia -e 'Pkg.test("AudioIO", coverage=true)' - julia -e 'Pkg.test("AudioIO", coverage=true)'
after_success: after_success:
- if [ $JULIAVERSION = "juliareleases" ]; then julia -e 'cd(Pkg.dir("AudioIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi - if [ $JULIAVERSION = "juliareleases" ]; then julia -e 'cd(Pkg.dir("AudioIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; fi