summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index ee8edefa..060e5581 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -30,7 +30,7 @@ matrix:
env: BUILD=osx
if: type != cron AND (tag =~ ^v[0-9.]+$ OR branch != master)
- - language: java
+ - language: python
sudo: false
env: CROWDIN=true
if: type = cron
@@ -93,8 +93,8 @@ install:
wget -q https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi --output-document=python.msi
wine msiexec /i python.msi /qn TARGETDIR=C:\\Python
- wine c:\\Python\\python.exe c:\\Python\\scripts\\pip.exe install pyinstaller --upgrade
- wine c:\\Python\\python.exe c:\\Python\\scripts\\pip.exe install setuptools --upgrade
+ wine c:\\Python\\python.exe c:\\Python\\scripts\\pip.exe install --upgrade pyinstaller==3.3.1
+ wine c:\\Python\\python.exe c:\\Python\\scripts\\pip.exe install --upgrade setuptools
wget -q https://github.com/lexelby/inkstitch-build-objects/releases/download/v1.0.0/Shapely-1.6.3-cp27-cp27m-win32.whl
wine c:\\Python\\python.exe c:\\Python\\scripts\\pip.exe install Shapely-1.6.3-cp27-cp27m-win32.whl
@@ -125,7 +125,7 @@ install:
source venv/bin/activate
pip install -r requirements.txt
- pip install pyinstaller
+ pip install pyinstaller==3.3.1
set +x
elif [ -n "$LINT" ]; then
pip install flake8
@@ -159,11 +159,14 @@ script:
wget https://downloads.crowdin.com/cli/v2/crowdin-cli.zip
unzip -j crowdin-cli.zip
+ pip install flask==0.* jinja2 Babel ./pyembroidery
make messages.po
- java -jar crowdin-cli.jar upload -b master
- make clean
+ echo "uploading messages.po to crowdin"
+ java -jar crowdin-cli.jar -v upload -b master
+
- java -jar crowdin-cli.jar pull -b master
+ echo "downloading new translations"
+ java -jar crowdin-cli.jar -v pull -b master
# Try to only commit if translations changed. Crowdin will update all
# files when a new translation string is added but we don't need to
# commit those until folks actually translate the new strings.