Skip to content

Commit

Permalink
Merge pull request #91 from synthicity/sf-test
Browse files Browse the repository at this point in the history
Run SF simulation as part of tests
  • Loading branch information
jiffyclub committed Aug 7, 2014
2 parents ee551ba + 89858af commit c5ec850
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@ install:
- sudo pip install conda
- sudo conda init
- |
conda create -p $HOME/py --yes pip jinja2 matplotlib numpy pandas patsy scipy statsmodels pytables pytest pyyaml toolz "python=$TRAVIS_PYTHON_VERSION"
conda create -p $HOME/py --yes ipython-notebook jinja2 matplotlib numpy pandas patsy pip scipy statsmodels pytables pytest pyyaml toolz "python=$TRAVIS_PYTHON_VERSION"
- export PATH=$HOME/py/bin:$PATH
- pip install simplejson bottle
- pip install pytest-cov coveralls pep8
- pip install .
before_script:
- git clone https://github.com/synthicity/sanfran_urbansim.git
- cd sanfran_urbansim; ipython nbconvert --to python Simulation.ipynb
- cd ..
script:
- pep8 urbansim scripts
- py.test --cov urbansim --cov-report term-missing
- cd sanfran_urbansim; python Simulation.py
- cd ..
after_success:
- coveralls
notifications:
Expand Down

0 comments on commit c5ec850

Please sign in to comment.