forked from tkf/BenchmarkCI.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (33 loc) · 878 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
julia:
- 1.5
notifications:
email: false
# Only build branches via PR
# https://docs.travis-ci.com/user/conditional-builds-stages-jobs
# https://docs.travis-ci.com/user/conditions-v1
if: type != push
install:
- unset JULIA_PROJECT
- julia -e 'using Pkg; pkg"add PkgBenchmark"'
- julia -e 'using Pkg; pkg"dev ."'
before_script:
- julia -e 'using BenchmarkCI; BenchmarkCI.judge()'
- julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'
script:
- julia -e '
using BenchmarkCI;
BenchmarkCI.pushresult(;
url = "[email protected]:tkf/BenchmarkCI-data.git",
title = "Benchmark result (via Travis)",
branch = "travis-benchmark-results",
);
'
after_script: lscpu
jobs:
allow_failures:
- julia: nightly
fast_finish: true