-
Notifications
You must be signed in to change notification settings - Fork 98
EDM-based CI #365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
EDM-based CI #365
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8dfe390
MAINT: Copy EDM scripts from Enable
jvkersch 2979560
MAINT: Tweaks for Chaco
jvkersch e6cd0fa
MAINT: Include backend tests.
jvkersch 7e75e32
STY: Formatting and line breaks.
jvkersch a56601c
MAINT: Remove pillow handling.
jvkersch 64ca555
MAINT: Remove superfluous apt packages.
jvkersch 3839915
MAINT: Add pyside setup.
jvkersch 340c42f
MAINT: No pyside on 3.5
jvkersch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,61 +1,51 @@ | ||
| language: python | ||
| language: generic | ||
| sudo: false | ||
| python: | ||
| - 2.7_with_system_site_packages | ||
| - 3.4 | ||
| - 3.5 | ||
| env: | ||
| - ETS_TOOLKIT='qt4' | ||
| - ETS_TOOLKIT='wx' | ||
| - ETS_TOOLKIT='null' | ||
| matrix: | ||
| exclude: | ||
| - python: 3.4 | ||
| env: ETS_TOOLKIT='wx' | ||
| - python: 3.5 | ||
| env: ETS_TOOLKIT='wx' | ||
| - python: 3.5 | ||
| env: ETS_TOOLKIT='qt4' | ||
| cache: | ||
| - pip | ||
| - ccache | ||
|
|
||
| addons: | ||
| apt: | ||
| packages: | ||
| - python-qt4 | ||
| - python-qt4-gl | ||
| - python-qt4-dev | ||
| - python-wxtools | ||
| - python-numpy | ||
| - libjpeg8-dev | ||
| - zlib1g-dev | ||
| - libpng-dev | ||
| - libfreetype6-dev | ||
| - python-cairo | ||
| - ccache | ||
| - cmake | ||
| - swig | ||
| - ccache | ||
|
|
||
| env: | ||
| global: | ||
| - INSTALL_EDM_VERSION=1.5.2 | ||
| PYTHONUNBUFFERED="1" | ||
|
|
||
| matrix: | ||
| include: | ||
| - env: RUNTIME=2.7 TOOLKIT=wx | ||
| - env: RUNTIME=2.7 TOOLKIT=pyqt | ||
| - env: RUNTIME=2.7 TOOLKIT=null | ||
| - env: RUNTIME=2.7 TOOLKIT=pyside | ||
| - env: RUNTIME=3.5 TOOLKIT=pyqt | ||
| - env: RUNTIME=3.5 TOOLKIT=null | ||
| fast_finish: true | ||
|
|
||
| branches: | ||
| only: | ||
| - master | ||
|
|
||
| cache: | ||
| directories: | ||
| - $HOME/.cache | ||
| - $HOME/.ccache | ||
|
|
||
| before_install: | ||
| - ccache -s | ||
| - pip install --upgrade pip | ||
| - if [[ ${TRAVIS_PYTHON_VERSION} == "3.4" && ${ETS_TOOLKIT} == "qt4" ]]; then ./build_pyside_wheel.sh; fi | ||
| - export PATH=/usr/lib/ccache:${PATH} | ||
| - mkdir -p "${HOME}/.cache/download" | ||
| - ci/install-edm.sh | ||
| - export PATH="${HOME}/edm/bin:/usr/lib/ccache:${PATH}" | ||
| - edm install -y wheel click coverage | ||
| - export DISPLAY=:99.0 | ||
| - sh -e /etc/init.d/xvfb start | ||
| install: | ||
| - pip install cython | ||
| - pip install -r travis-ci-requirements.txt | ||
| - git clone https://github.com/enthought/enable.git --depth 1 | ||
| - cd enable | ||
| - pip install -r travis-ci-requirements | ||
| - python setup.py develop | ||
| - cd .. | ||
| - python setup.py develop | ||
| - mkdir testing_dir | ||
| - cd testing_dir | ||
| - edm run -- python ci/edmtool.py install --runtime=${RUNTIME} --toolkit=${TOOLKIT} | ||
| script: | ||
| - coverage run -m nose.core -v chaco --exclude-dir=../chaco/tests_with_backend | ||
| - if [[ $ETS_TOOLKIT != 'null' ]]; then coverage run -a -m nose.core -v ../chaco/tests_with_backend; fi | ||
| - edm run -- python ci/edmtool.py test --runtime=${RUNTIME} --toolkit=${TOOLKIT} | ||
|
|
||
| after_success: | ||
| - pip install codecov | ||
| - codecov | ||
| - edm run -- coverage combine | ||
| - edm run -- pip install codecov | ||
| - edm run -- codecov | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason why pyside is not included in the matrix jobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No particular one, other than that I looked at the current Travis file and misread what it does. I'll add PySide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a configuration for PySide under 2.7.