Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
language: python
python:
- "2.7_with_system_site_packages"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libgfortran3 liblapack3gf python-numpy python-scipy python-matplotlib
- "wget -O casadi.tar.gz wget http://sourceforge.net/projects/casadi/files/CasADi/2.4.0/linux/casadi-py27-np1.9.1-v2.4.0.tar.gz/download"
- tar -zxvf casadi.tar.gz -C casadi
- export PYTHONPATH=$PYTHONPATH:`pwd`/casadi
- pip install pytest-cov coveralls pypng ipython[notebook]
- wget -O ipnbdoctest.py https://gist.githubusercontent.com/jgillis/1fd60cf60a802aab89d2/raw/d6cda04c5b1aa738a6cef90dac11594a7df2d918/ipynbdoctest.py
install:
- pip install .
script:
- py.test --cov optoy --doctest-modules optoy tests
- python ipnbdoctest.py examples/*.ipynb
after_success:
coveralls