init travis

This commit is contained in:
林檎 2017-03-02 18:31:21 +08:00
parent 896dc04648
commit 6caf132fef
3 changed files with 34 additions and 0 deletions

22
.travis.yml Normal file
View File

@ -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

11
build.sh Executable file
View File

@ -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

View File

@ -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.