-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some type file preview and more (#28)
Adds preview for scribus file .sla. fix #25 Adds test for gimp file .xfc. fix #26 Refactor openoffice and scribus preview builder. Complete README. Fix bug with exif tool. fix #21 Adds some PEP8.
- Loading branch information
1 parent
b979040
commit 2426a0d
Showing
43 changed files
with
1,829 additions
and
794 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,25 +1,26 @@ | ||
sudo: false | ||
sudo: true | ||
language: python | ||
python: | ||
- "3.3" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- libreoffice | ||
|
||
install: | ||
# Install specific version of exiftool | ||
- wget https://sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.11.tar.gz && gzip -dc Image-ExifTool-11.11.tar.gz | tar -xf - && cd Image-ExifTool-11.11 && perl Makefile.PL && sudo make install | ||
- cd .. | ||
- sudo apt-get install xvfb libreoffice libfile-mimeinfo-perl inkscape poppler-utils -y | ||
- pip install xvfbwrapper | ||
- python setup.py install | ||
- pip install preview-generator | ||
- pip install pytest | ||
- python3 -m pip install -U mypy | ||
|
||
# command to run tests | ||
script: | ||
- "cd ${TRAVIS_BUILD_DIR} && py.test tests" | ||
- "cd ${TRAVIS_BUILD_DIR} && mypy preview_generator --ignore-missing-imports --disallow-untyped-defs" | ||
|
||
# - "cd ${TRAVIS_BUILD_DIR} && mypy preview_generator --ignore-missing-imports --disallow-untyped-defs" | ||
|
||
|
||
|
||
|
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.