# A little trick for travis
using PkgBenchmark, Symbolics

pkgpath = dirname(dirname(pathof(Symbolics)))
# move it out of the repository so that you can check out different branches
script = tempname() * ".jl"
benchpath = joinpath(pkgpath, "benchmark", "benchmarks.jl")
cp(benchpath, script)

j = judge(pkgpath, "master", retune=true, script=script)

println("MASTER BRANCH")
println(j.baseline_results)

println("THIS BRANCH")
println(j.target_results)

println("DIFFGROUP")
println(j.benchmarkgroup)

println("MARKDOWN")
export_markdown(stdout, j, export_invariants=true)
