Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ jobs:
os: linux
before_script:
- git fetch origin '+refs/heads/master:refs/remotes/origin/master'
- git branch master origin/master
- git branch baseline origin/master
# Run benchmark outside `script` so that it's hidden by default:
- julia --project=benchmark benchmark/runjudge.jl'
- julia --project=benchmark -e '
using Pkg; Pkg.instantiate();
include("benchmark/runjudge.jl");'

script:
- julia --project=benchmark benchmark/pprintjudge.jl'
- julia --project=benchmark -e '
using Pkg; Pkg.instantiate();
include("benchmark/pprintjudge.jl");'
after_success: skip
if: NOT (branch = master)
- stage: Documentation
julia: 1.0
script: julia --project=docs -e '
Expand Down
2 changes: 1 addition & 1 deletion benchmark/runjudge.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ group_target = benchmarkpkg(

group_baseline = benchmarkpkg(
dirname(@__DIR__),
mkconfig(id = "master"),
mkconfig(id = "baseline"),
resultfile = joinpath(@__DIR__, "result-baseline.json"),
)

Expand Down