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
5bd93186
Commit
5bd93186
authored
Mar 05, 2017
by
林檎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shell script bug
parent
3a9a3279
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.travis.yml
.travis.yml
+3
-3
build.sh
build.sh
+2
-2
No files found.
.travis.yml
View file @
5bd93186
language
:
python
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
...
...
build.sh
View file @
5bd93186
#!/bin/sh
if
[[
$PVERSION
=
2
]]
;
then
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
...
...
@@ -11,7 +11,7 @@ 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
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
...
...
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