2nd problem was that the Pkg.clone(pwd()) wasn't working because travis had done a shallow clone, which was described by @timholy here: https://github.com/JuliaLang/julia/issues/7913. Looks like the fix is already in the .travis.yml that gets created with Pkg.generate(), but my config was a bit older-school.
Big thanks to Tomas for the help. On Thu, Aug 28, 2014 at 10:26 AM, Tomas Lycken <[email protected]> wrote: > This was fixed by installing the package through `Pkg.clone(pwd())` rather > than the old symlink approach, so if anyone comes here looking for a > solution, take a look here instead: > https://github.com/ssfrr/AudioIO.jl/pull/24 =) > > // T > > > On Thursday, August 28, 2014 4:00:47 PM UTC+2, Spencer Russell wrote: >> >> My travis builds work fine on my repository, but it seems when people try >> to fork and submit pull requests it has problems. >> >> I see in the travis log that the git command exited status 1, but I don't >> see any output giving a clue as to what happened. Have people seen this >> before? >> >> I've pasted the most relevant part below, but the full build output is at >> https://travis-ci.org/ssfrr/AudioIO.jl/builds/31842313. >> >> Thanks. >> >> $ julia -e 'Pkg.pin("AudioIO"); Pkg.resolve(); Pkg.build("AudioIO")' >> INFO: Creating AudioIO branch pinned.270074f3.tmp >> ERROR: failed process: Process(`git >> --work-tree=/home/travis/.julia/v0.3/AudioIO >> --git-dir=/home/travis/.julia/v0.3/AudioIO/.git merge-base >> 270074f36cdc19f848f7ce8cb8d2951fc922a0d6 >> c2fdb53925599e05411dbee9648ddb03785c0091`, >> ProcessExited(1)) [1] >> in readbytes at ./process.jl:464 >> in readchomp at pkg/git.jl:24 >> in installed_version at ./pkg/read.jl:73 >> in installed at ./pkg/read.jl:122 >> in resolve at pkg/entry.jl:367 >> in anonymous at pkg/dir.jl:28 >> in cd at ./file.jl:20 >> in cd at pkg/dir.jl:28 >> in resolve at pkg.jl:42 >> in process_options at ./client.jl:213 >> in _start at ./client.jl:354 >> in _start_3B_1716 at /usr/bin/../lib/x86_64-linux-gnu/julia/sys.so >> >
