Skip to content

Commit f9e8ddc

Browse files
author
mauriciogtec
committed
coverall codecoc
1 parent 4f61270 commit f9e8ddc

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ julia:
33
- 0.6.0
44
- 0.6.1
55
- 0.6.2
6+
before_install:
7+
- pip install --user codecov
8+
after_success:
9+
- codecov --file coverage/lcov.info --disable search

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[![Build Status](https://travis-ci.org/mauriciogtec/AdaptiveRejectionSampling.jl.svg?branch=master)](https://travis-ci.org/mauriciogtec/AdaptiveRejectionSampling.jl)
22

3-
# AdaptiveRejectionSampling
4-
3+
[![Coverage Status](https://coveralls.io/repos/github/mauriciogtec/AdaptiveRejectionSampling.jl/badge.svg?branch=master)](https://coveralls.io/github/mauriciogtec/AdaptiveRejectionSampling.jl?branch=master)
54

5+
# AdaptiveRejectionSampling
66

77
```julia
88
using AdaptiveRejectionSampling
@@ -26,7 +26,7 @@ sampler = RejectionSampler(f); # domain and max segment should be here
2626
```
2727

2828
0.155764 seconds (773.26 k allocations: 28.453 MiB, 3.92% gc time)
29-
29+
3030

3131

3232
```julia
@@ -35,4 +35,4 @@ p = histogram(sim, normalize = true, label = "histogram")
3535
plot!(p, x, [f.(x) env], width = 2, label = ["target density" "envelop"])
3636
```
3737

38-
![](./img/example1.png)
38+
![](./img/example1.png)

0 commit comments

Comments
 (0)