-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:enthought/enable into ref-kiwi-so…
…lver
- Loading branch information
Showing
36 changed files
with
1,280 additions
and
210 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,21 @@ | ||
[run] | ||
branch = True | ||
source = enable, kiva | ||
omit = */tests/* | ||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
if __name__ == .__main__.: | ||
|
||
ignore_errors = True |
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,32 @@ | ||
language: python | ||
python: | ||
- '2.7_with_system_site_packages' | ||
- 2.6 | ||
before_install: | ||
# For Python 2.7, install PyQt4 | ||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7_with_system_site_packages' ]]; then source .travis_before_install; fi | ||
# PyQt can't be installed on 2.6; run the tests without Qt | ||
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then source .travis_before_install_noqt; fi | ||
install: | ||
# nose is already installed | ||
- pip install cython | ||
- sudo apt-get install python-numpy | ||
- sudo apt-get install swig | ||
- pip install PIL --allow-external PIL --allow-unverified PIL | ||
- pip install pyparsing | ||
# Test against the current master of traits and traitsui | ||
- pip install git+http://github.com/enthought/traits.git#egg=traits | ||
- pip install git+http://github.com/enthought/traitsui.git#egg=traitsui | ||
- pip install coverage | ||
- pip install coveralls | ||
- python setup.py develop | ||
script: | ||
- coverage run -m nose.core -v enable/tests | ||
- coverage run -a -m nose.core -v enable/savage/svg/tests | ||
- coverage run -a -m nose.core -v kiva/tests | ||
- coverage run -a -m nose.core -v kiva/agg/tests | ||
notifications: | ||
email: | ||
- travis-ci@enthought.com | ||
after_success: | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Set up PyQt4 for potential UI tests. | ||
|
||
export DISPLAY=:99.0 | ||
sh -e /etc/init.d/xvfb start | ||
|
||
sudo apt-get install python-qt4 python-qt4-dev python-sip python-qt4-gl libqt4-scripttools | ||
|
||
python -c 'import PyQt4' | ||
python -c 'import PyQt4.QtCore' | ||
python -c 'import PyQt4.QtGui' | ||
|
||
export ETS_TOOLKIT=qt4 |
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,6 @@ | ||
# Set up X11 for potential UI tests. | ||
|
||
export DISPLAY=:99.0 | ||
sh -e /etc/init.d/xvfb start | ||
|
||
export ETS_TOOLKIT=null.image |
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 @@ | ||
include kiva/agg/agg.i |
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
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
Oops, something went wrong.