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
3a9a3279
Commit
3a9a3279
authored
Mar 05, 2017
by
林檎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build script
parent
2c326964
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
.travis.yml
.travis.yml
+7
-0
build.sh
build.sh
+16
-1
No files found.
.travis.yml
View file @
3a9a3279
...
...
@@ -13,6 +13,13 @@ python:
# - "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
install
:
false
branches
:
...
...
build.sh
View file @
3a9a3279
#!/bin/sh
if
[[
$PVERSION
=
2]]
;
then
python
-m
py_compile cps.py
python
-m
py_compile cps/book_formats.py
python
-m
py_compile cps/db.py
...
...
@@ -9,3 +10,17 @@ 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
f
[[
$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