Skip to content

Commit

Permalink
Run benchmarks as part of CI (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
omus authored Sep 23, 2020
1 parent e80b106 commit 60ab3e9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ stages:
- julia --project=docs/ docs/deploy.jl
after_success: skip

.benchmarks: &benchmarks
stage: "test"
name: "Benchmarks"
os: linux
julia: 1
script:
- git fetch origin +:refs/remotes/origin/HEAD
- julia --project=benchmark/ -e 'using Pkg; Pkg.instantiate(); Pkg.develop(PackageSpec(path=pwd()))'
- julia --project=benchmark/ -e 'using PkgBenchmark, TimeZones; export_markdown(stdout, judge(TimeZones, "origin/HEAD", verbose=false))'
after_success: skip

# Note: At the moment `codecov: true` and `coveralls: true` are not working.
language: julia
os:
Expand Down Expand Up @@ -49,8 +60,9 @@ jobs:
- arch: x86
os: windows

# Documentation tests and deployment
# Benchmarking, doctests, and documentation deployment
include:
- <<: *benchmarks
- <<: *doc_test
os: linux
julia: 1.0
Expand Down

0 comments on commit 60ab3e9

Please sign in to comment.