From 6caf132fef05ab66ab2cd85964d230d0438eb430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E6=AA=8E?= Date: Thu, 2 Mar 2017 18:31:21 +0800 Subject: [PATCH] init travis --- .travis.yml | 22 ++++++++++++++++++++++ build.sh | 11 +++++++++++ readme.md | 1 + 3 files changed, 34 insertions(+) create mode 100644 .travis.yml create mode 100755 build.sh diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..c8115603 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: python + +python: +# - "2.6" + - "2.7" +# - "3.2" +# - "3.3" +# - "3.4" +# - "3.5" +# - "3.5-dev" # 3.5 development branch + - "3.6" +# - "3.6-dev" # 3.6 development branch +# - "3.7-dev" # 3.7 development branch +# - "nightly" # currently points to 3.7-dev + +install: false + +branches: + only: + - travis + +script: ./build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..1b051883 --- /dev/null +++ b/build.sh @@ -0,0 +1,11 @@ +#!/bin/sh +python -m py_compile cps.py +python -m py_compile cps/book_formats.py +python -m py_compile cps/db.py +python -m py_compile cps/epub.py +python -m py_compile cps/fb2.py +python -m py_compile cps/helper.py +python -m py_compile cps/ub.py +python -m py_compile cps/uploader.py +python -m py_compile cps/web.py +python -m py_compile cps.py diff --git a/readme.md b/readme.md index 102d4b2e..8b36e132 100755 --- a/readme.md +++ b/readme.md @@ -1,3 +1,4 @@ +##Forked from [janeczku/calibre-web](https://github.com/janeczku/calibre-web) [![Build Status](https://travis-ci.org/Kennyl/calibre-web.svg?branch=master)](https://travis-ci.org/Kennyl/calibre-web) ##About Calibre Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing [Calibre](https://calibre-ebook.com) database.