-
Notifications
You must be signed in to change notification settings - Fork 13
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 #55 from UDST/travis-setup
[0.1.dev18] Installation improvements and continuous integration
- Loading branch information
Showing
9 changed files
with
100 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
language: python | ||
|
||
python: | ||
- '2.7' | ||
- '3.5' | ||
- '3.6' | ||
|
||
matrix: | ||
include: | ||
- python: '3.7' # temp solution until python 3.7 is more cleanly supported | ||
dist: xenial | ||
sudo: true | ||
allow_failures: | ||
- python: '3.7' # dependencies are blocking installation | ||
fast_finish: true | ||
|
||
install: | ||
- pip install git+git://github.com/udst/choicemodels.git | ||
- pip install . | ||
- pip install -r requirements-full.txt | ||
- pip install -r requirements-dev.txt | ||
- pip list | ||
- pip show urbansim_templates | ||
|
||
script: | ||
- cd urbansim_templates/tests | ||
- coverage run --source urbansim_templates --module pytest --verbose | ||
|
||
after_success: | ||
- coverage report --show-missing | ||
- coveralls |
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
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,5 @@ | ||
# requirements for development and testing | ||
|
||
coverage | ||
coveralls | ||
pytest |
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,3 @@ | ||
# additional requirements for less-used templates | ||
|
||
pylogit >= 0.2 |
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,9 @@ | ||
# minimal requirements for model management and core templates | ||
|
||
choicemodels >= 0.2.dev4 | ||
numpy >= 1.14 | ||
orca >= 1.4 | ||
pandas >= 0.22 | ||
patsy >= 0.4 | ||
statsmodels >= 0.8 | ||
urbansim >= 3.1 |
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
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.1.dev17' | ||
version = __version__ = '0.1.dev17' |
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
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,2 @@ | ||
.coverage | ||
__pycache__/* |