Permalink
Browse files

Adding robust example

  • Loading branch information...
jgillis committed Feb 25, 2015
1 parent a167d82 commit 992ee30a21434671b8a35acf41b095a0ded901ea
Showing with 238 additions and 18 deletions.
  1. +2 −2 .travis.yml
  2. +1 −1 Makefile
  3. +12 −15 examples/ocp_timeopt.ipynb
  4. +223 −0 examples/ocp_timeopt_robust.ipynb
@@ -7,15 +7,15 @@ before_install:
- sudo apt-get install -y libgfortran3 liblapack3gf python-numpy python-scipy python-matplotlib
- "wget -O casadi.deb http://downloads.sourceforge.net/project/casadi/CasADi/2.2.0/Ubuntu-12.04/python-casadi_2.2.0-2_amd64.deb"
- sudo dpkg -i casadi.deb
- pip install pytest-cov coveralls
- pip install pytest-cov coveralls pypng
- wget https://gist.githubusercontent.com/shoyer/7497853/raw/fbd4d82aef99468b11ccbff8c4b93351d611da13/ipnbdoctest.py
install:
- pip install .
script:
- py.test --cov optoy --doctest-modules optoy tests
- python ipnbdoctest.py *.ipynb
- python ipnbdoctest.py examples/*.ipynb
after_success:
coveralls
@@ -1,3 +1,3 @@
test:
py.test --cov optoy --doctest-modules optoy tests
python ipnbdoctest.py *.ipynb
python ipnbdoctest.py examples/*.ipynb

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 992ee30

Please sign in to comment.