-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from urbansim/python3
PEP 8 formatting and Python 3 compatibility
- Loading branch information
Showing
4 changed files
with
93 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,4 +86,7 @@ ENV/ | |
.spyderproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
.ropeproject | ||
|
||
# PyCharm | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
language: python | ||
sudo: false | ||
python: | ||
- '2.7' | ||
- '3.5' | ||
|
||
install: | ||
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh | ||
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
-O miniconda.sh; fi | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda info -a | ||
- | | ||
conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION pip numpy pandas pytest matplotlib scipy statsmodels pyyaml pycodestyle | ||
- source activate test-environment | ||
- conda list | ||
# UPDATE THESE WHEN LATEST VERSIONS PUSHED TO PIP | ||
- pip install https://github.com/UDST/orca/archive/master.zip | ||
- pip install https://github.com/pksohn/urbansim/archive/python3.zip | ||
- pip install . | ||
# UPDATE BRANCH LATER | ||
- cd .. && git clone -b pep8 git@github.com:urbansim/zone_model.git | ||
- cd zone_model && pip install . | ||
- cd zone_model/data && curl -O https://storage.googleapis.com/urbansim/zone_model/model_data.h5 | ||
- cd $TRAVIS_BUILD_DIR && pip install . | ||
|
||
script: | ||
- pycodestyle variable_generators | ||
- cd ../zone_model/zone_model/ && python simulate.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = __version__ = '0.1dev' | ||
version = __version__ = '0.1dev' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters