<NME> tests.jl
<BEF> mktempdir() do tmpdir
    @info("Building 'nongit' in $tmpdir")
    cp(joinpath(@__DIR__, "docs"), joinpath(tmpdir, "docs"))
    include(joinpath(tmpdir, "docs/make.jl"))
    cp(joinpath(@__DIR__, "docs"), joinpath(tmpdir, "docs"))
    include(joinpath(tmpdir, "docs/make.jl"))
    # Copy the build/ directory back so that it would be possible to inspect the output.
    cp(joinpath(tmpdir, "docs/build"), joinpath(@__DIR__, "build"); remove_destination=true)
end

<MSG> Fix 0.7 deprecations

Closes #751.

<DFF> @@ -5,5 +5,5 @@ mktempdir() do tmpdir
     cp(joinpath(@__DIR__, "docs"), joinpath(tmpdir, "docs"))
     include(joinpath(tmpdir, "docs/make.jl"))
     # Copy the build/ directory back so that it would be possible to inspect the output.
-    cp(joinpath(tmpdir, "docs/build"), joinpath(@__DIR__, "build"); remove_destination=true)
+    Compat.cp(joinpath(tmpdir, "docs/build"), joinpath(@__DIR__, "build"); force=true)
 end

Fix 0.7 deprecations