Skip to content

Commit 590adb2

Browse files
authored
Merge pull request #7 from TuringLang/mt/ci_and_coveralls
Add travis and coveralls
2 parents 0c7ffd6 + 41efd1f commit 590adb2

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: julia
2+
3+
os:
4+
- linux
5+
- osx
6+
7+
julia:
8+
- 1.0
9+
- 1.1
10+
- 1.2
11+
- nightly
12+
13+
matrix:
14+
allow_failures:
15+
- julia: nightly
16+
fast_finish: true
17+
18+
notifications:
19+
email: false
20+
21+
after_success:
22+
- julia -e 'using Pkg; cd(Pkg.dir("DistributionsAD")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# DistributionsAD.jl
22

3+
[![Build Status](https://travis-ci.org/TuringLang/DistributionsAD.jl.svg?branch=master)](https://travis-ci.org/TuringLang/DistributionsAD.jl)
4+
5+
[![Coverage Status](https://coveralls.io/repos/github/TuringLang/DistributionsAD.jl/badge.svg?branch=master)](https://coveralls.io/github/TuringLang/DistributionsAD.jl?branch=master)
6+
7+
38
This package defines the necessary functions to enable automatic differentiation (AD) of the `logpdf` function from [Distributions.jl](https://github.com/JuliaStats/Distributions.jl) using the packages [Tracker.jl](https://github.com/FluxML/Tracker.jl) and [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl). The goal of this package is to make the output of `logpdf` differentiable wrt all continuous parameters of a distribution as well as the random variable in the case of continuous distributions.
49

510
AD of `logpdf` is fully supported and tested for the following distributions wrt all combinations of continuous variables (distribution parameters and/or the random variable) and using all defined distribution constructors:

0 commit comments

Comments
 (0)