Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,25 @@ before_install:
- hash -r;
- conda config --set always_yes yes --set changeps1 no;
- conda create -y -q -n test_cq -c cadquery -c conda-forge pythonocc-core=0.18.2 oce=0.18.2 python=$TRAVIS_PYTHON_VERSION
pyparsing mock;
- source ~/miniconda/bin/activate test_cq;
- pip install .[dev]
- python -c 'import OCC.gp as gp; print(gp.gp_Vec())'
- pip install codecov

install:
- python setup.py install

before_script:
- ulimit -c unlimited -S
- ulimit -c unlimited -S
- sudo rm -f /cores/core.*

script:
- coverage run runtests.py
- pytest -v --cov

after_success:
- codecov

after_failure:
- ls /cores/core.*
- ls /cores/core.*
- lldb --core `ls /cores/core.*` --batch --one-line "bt"


Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ install:
- conda update -q conda
- conda create --quiet --name cqtest -c cadquery -c conda-forge -c dlr-sc pythonocc-core=0.18.2 python=%PYTHON_VERSION% pyparsing mock coverage codecov
- activate cqtest
- pip install codecov
- pip install .[dev]
- python setup.py install

build: false

test_script:
- coverage run runtests.py
- pytest -v --cov

on_success:
- codecov

Expand Down
7 changes: 2 additions & 5 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ dependencies:
- python=3.6
- pythonocc-core=0.18.2
- oce=0.18.2
- pyparsing
- pip
- pip:
- "--editable=."
# Documentation
- sphinx
- sphinx_rtd_theme
- "--editable=.[dev]"
3 changes: 0 additions & 3 deletions requirements-dev.txt

This file was deleted.

Empty file removed requirements.txt
Empty file.
22 changes: 0 additions & 22 deletions runtests.py

This file was deleted.

11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@
long_description=open('README.md').read(),
packages=['cadquery','cadquery.contrib','cadquery.occ_impl','cadquery.plugins','tests'],
install_requires=['pyparsing'],
extras_require={
'dev': [
# Documentation
'sphinx',
'sphinx_rtd_theme',
# Testing
'codecov',
'pytest',
'pytest-cov',
],
},
include_package_data=True,
zip_safe=False,
platforms='any',
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.