Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,21 @@ install:
- sudo apt-get --no-install-recommends install $PYTHON-pandas
- sudo apt-get --no-install-recommends install $PYTHON-pandas-lib
- sudo easy_install$PYSUF -U patsy
- if [ "${PYSUF}" != "3" ]; then sudo pip install coverage; fi
- if [ "${PYSUF}" != "3" ]; then sudo pip install coveralls; fi
script:
- SRCDIR=$PWD
- sudo $PYTHON setup.py install
# Ubuntu 12.04 installs statsmodels under the wrong path for Python 3
- if [ "${PYSUF}" == "3" ]; then
sudo mv /usr/local/lib/python3.2/dist-packages/statsmodels-*/statsmodels /usr/local/lib/python3.2/dist-packages/statsmodels ;
sudo rm -rf /usr/lib/python3.2/dist-packages/statsmodels-* ;
fi
# For some reason, Python 3 will try to work with the build directory. Get out of folder to avoid breakage
- cd ../
- sudo $PYTHON -c "import statsmodels as sm; a=sm.test(); import sys; sys.exit((len(a.failures)+len(a.errors))>0)"

# statsmodels was installed "system-wide" thus cd under dedicated
# travis-test/ directory to not try using local version without built extensions
- mkdir -p "${SRCDIR}/travis-test"; cd "${SRCDIR}/travis-test"
# Compose a script to run testing with coverage
- echo 'import statsmodels as sm; a=sm.test(); import sys; sys.exit((len(a.failures)+len(a.errors))>0)' > test.py
- if [ "${PYSUF}" != "3" ]; then coverage run --rcfile=${SRCDIR}/.travis_coveragerc test.py; else $PYTHON test.py; fi
after_success:
- if [ "${PYSUF}" != "3" ]; then coveralls; fi
5 changes: 5 additions & 0 deletions .travis_coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

[run]
branch = True
include =
/usr/local/lib/python*/*-packages/statsmodels*
4 changes: 2 additions & 2 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ This can be opened from the python interpreter ::
Discussion and Development
==========================

Discussions take place on our mailing list.
Discussions take place on our mailing list.

http://groups.google.com/group/pystatsmodels

We are very interested in feedback about usability and suggestions for improvements.
We are very interested in feedback about usability and suggestions for improvements.


Bug Reports
Expand Down
2 changes: 1 addition & 1 deletion statsmodels/LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All rights reserved.
Copyright (c) 2006-2008 Scipy Developers.
All rights reserved.

Copyright (c) 2009 Statsmodels Developers.
Copyright (c) 2009-2013 Statsmodels Developers.
All rights reserved.


Expand Down