Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
d56d67ce
Commit
d56d67ce
authored
Mar 05, 2017
by
林檎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bash
parent
5bd93186
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
23 deletions
+10
-23
.travis.yml
.travis.yml
+8
-8
build.sh
build.sh
+2
-15
No files found.
.travis.yml
View file @
d56d67ce
...
...
@@ -2,23 +2,23 @@ language: python
#python:
# - "2.6"
#
- "2.7"
-
"
2.7"
# - "3.2"
# - "3.3"
# - "3.4"
# - "3.5"
# - "3.5-dev" # 3.5 development branch
#
- "3.6"
-
"
3.6"
# - "3.6-dev" # 3.6 development branch
# - "3.7-dev" # 3.7 development branch
# - "nightly" # currently points to 3.7-dev
matrix
:
include
:
-
python
:
"
2.7"
env
:
PVERSION=2
-
python
:
"
3.6"
env
:
PVERSION=3
#
matrix:
#
include:
#
- python: "2.7"
#
env: PVERSION=2
#
- python: "3.6"
#
env: PVERSION=3
install
:
false
...
...
build.sh
View file @
d56d67ce
#!/bin/sh
if
[[
$PVERSION
=
2
]]
;
then
set
-x
python
-m
py_compile cps.py
python
-m
py_compile cps/book_formats.py
python
-m
py_compile cps/db.py
...
...
@@ -10,17 +11,3 @@ 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
fi
if
[[
$PVERSION
=
3
]]
;
then
python3.6
-m
py_compile cps.py
python3.6
-m
py_compile cps/book_formats.py
python3.6
-m
py_compile cps/db.py
python3.6
-m
py_compile cps/epub.py
python3.6
-m
py_compile cps/fb2.py
python3.6
-m
py_compile cps/helper.py
python3.6
-m
py_compile cps/ub.py
python3.6
-m
py_compile cps/uploader.py
python3.6
-m
py_compile cps/web.py
python3.6
-m
py_compile cps.py
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment