Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Merge c82aaed into 66054b0
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-urbanczyk committed Apr 8, 2018
2 parents 66054b0 + c82aaed commit 405a6cf
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[run]
include = cadquery/*
omit = cadquery/cq_directive.py


[xml]
output = coverage.xml
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_install:
conda config --set always_yes yes --set changeps1 no;
conda update -q conda;
conda info -a;
conda create -y -q -n freecad_cq3 -c freecad -c conda-forge freecad=0.17=py36_11 occt=7.2.0=occt7.2.0_0 python=3.6 pyparsing conda mock;
conda create -y -q -n freecad_cq3 -c freecad -c freecad/label/broken -c conda-forge freecad=0.17=py36_11 occt=7.2.0=occt7.2.0_0 python=3.6 pyparsing conda mock coverage codecov;
source ~/miniconda/bin/activate freecad_cq3;
else
sudo add-apt-repository -y ppa:freecad-maintainers/freecad-stable;
Expand All @@ -29,11 +29,14 @@ install:
- python setup.py install;

script:
- coverage run runtests.py
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
coverage run --source=cadquery --omit=cadquery/cq_directive.py ./runtests.py;
travis-sphinx build --nowarn --source=doc;
fi
- python runtests.py

after_success:
- coverage xml
- codecov -X gcov --file coverage.xml

after_script:
- coveralls
Expand All @@ -43,6 +46,7 @@ branches:
except:
- pythonocc
- 2_0_branch

deploy:
provider: pypi
user: dcowden
Expand Down
11 changes: 8 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
build: false
shallow_clone: true

platform:
Expand All @@ -13,9 +12,15 @@ install:
- set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
- conda config --set always_yes yes
- conda update -q conda
- conda create --quiet --name cqtest -c freecad -c conda-forge python=%PYTHON_VERSION% freecad=0.17=py36_vc14_13 occt=7.2.0 python=3.6 pyparsing mock
- conda create --quiet --name cqtest -c freecad -c freecad/label/broken -c conda-forge python=%PYTHON_VERSION% freecad=0.17=py36_vc14_13 occt=7.2.0 python=3.6 pyparsing mock coverage codecov
- activate cqtest
- python setup.py install

build: false

test_script:
- python runtests.py
- coverage run runtests.py

on_success:
- coverage xml
- codecov -X gcov --file coverage.xml
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ coverage
coveralls
pyparsing
mock
codecov

0 comments on commit 405a6cf

Please sign in to comment.