-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from michaeldegroot/development
0.0.8
- Loading branch information
Showing
21 changed files
with
1,027 additions
and
450 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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
__pycache__ | ||
cats blender plugin_updater | ||
.idea | ||
cats_updater | ||
.idea | ||
*.pyc | ||
.cache | ||
tmp | ||
*.blend | ||
tests/armatures/*.png | ||
.coverage |
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,46 @@ | ||
language: python | ||
cache: | ||
apt: true | ||
pip: true | ||
|
||
python: | ||
# Use the Python version that comes with blender 2.79 | ||
- "3.5.3" | ||
|
||
before_install: | ||
- sudo apt-get update -qq | ||
# install blender from official sources. | ||
# This will most propably install an outdated blender version, | ||
# but it will resolve all system dependencies blender has to be able to run. | ||
- sudo apt-get install blender | ||
- sudo apt-get install unzip | ||
- pip install coveralls | ||
- pip install coverage | ||
# - printf 'import coverage\ncoverage.process_startup()\n' > "/home/travis/virtualenv/python${TRAVIS_PYTHON_VERSION}/lib/python${TRAVIS_PYTHON_VERSION}/sitecustomize.py" | ||
|
||
install: | ||
# Then update blender | ||
- mkdir tmp && cd tmp | ||
- wget http://mirror.cs.umn.edu/blender.org/release/Blender2.79/blender-2.79-linux-glibc219-x86_64.tar.bz2 | ||
- tar jxf blender-2.79-linux-glibc219-x86_64.tar.bz2 | ||
- mv blender-2.79-linux-glibc219-x86_64 blender | ||
- rm blender-2.79-linux-glibc219-x86_64.tar.bz2 | ||
|
||
- cd .. | ||
|
||
# Make sure to install mmd_tools plugin | ||
- wget https://github.com/powroupi/blender_mmd_tools/archive/dev_test.zip | ||
- unzip dev_test.zip | ||
- rm dev_test.zip | ||
- cd blender_mmd_tools-dev_test | ||
- mv mmd_tools/ ../tmp/blender/2.79/scripts/addons | ||
|
||
- cd .. | ||
|
||
# make sure to install cats plugin | ||
- sudo ln -s ${PWD} ${PWD}/tmp/blender/2.79/scripts/addons/cats | ||
|
||
# Start unit testing and coverage | ||
script: | ||
- coverage run --source=. tests.py ./tmp/blender/blender | ||
- coverage report -m |
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.