Fix shell script bug

pull/152/head^2^2
林檎 7 years ago
parent 3a9a327957
commit 5bd93186c2

@ -1,14 +1,14 @@
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

@ -1,5 +1,5 @@
#!/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

Loading…
Cancel
Save