Skip to content

Commit

Permalink
Set up CI and fill up README
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 24, 2017
1 parent bbfbee7 commit 1247295
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: false
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
julia 0.6
BinDeps
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.6
- nightly
notifications:
email: false
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("SDPA"); Pkg.test("SDPA"; coverage=true)'
addons:
apt_packages:
- liblapack-dev
- libopenblas-dev
after_success:
# push coverage results to Coveralls and Codecov
- julia -e 'cd(Pkg.dir("SDPA")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# DSDP

| **Build Status** |
|:----------------:|
| [![Build Status][build-img]][build-url] |
| [![Coveralls branch][coveralls-img]][coveralls-url] [![Codecov branch][codecov-img]][codecov-url] |

Julia wrapper for the [DSDP](http://www.mcs.anl.gov/hs/software/DSDP/) semidefinite programming solver.

## Installation

You can install DSDP.jl as follows:
```julia
julia> Pkg.add("https://github.com/joehuchette/DSDP.jl.git")
julia> Pkg.build("DSDP")
```

The `Pkg.build` command will compile SDPA from source, you will need to install the following dependencies for the compilation to work.

### Ubuntu
```sh
$ sudo apt-get install build-essential liblapack-dev libopenblas-dev
```

### Windows
Windows support is still a work in progress.

[build-img]: https://travis-ci.org/joehuchette/DSDP.jl.svg?branch=master
[build-url]: https://travis-ci.org/joehuchette/DSDP.jl
[coveralls-img]: https://coveralls.io/repos/joehuchette/DSDP.jl/badge.svg?branch=master&service=github
[coveralls-url]: https://coveralls.io/github/joehuchette/DSDP.jl?branch=master
[codecov-img]: http://codecov.io/github/joehuchette/DSDP.jl/coverage.svg?branch=master
[codecov-url]: http://codecov.io/github/joehuchette/DSDP.jl?branch=master
2 changes: 2 additions & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
julia 0.6
BinDeps
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
using DSDP
using Base.Test

0 comments on commit 1247295

Please sign in to comment.