appveyor.yml 1.38 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
environment:

  matrix:

    - PYTHON: "C:\\Python34"


install:

  - hg clone http://hg.gajim.org/gajim-plugins c:\projects\gajim-plugins
  - hg clone http://hg.gajim.org/python-nbxmpp c:\projects\python-nbxmpp
  - cd c:\\projects\\python-nbxmpp\\
  - python setup.py install
  - ps: c:\\projects\\gajim\\download.ps1
  - set PATH=C:\\MinGW\\bin;C:\\Program Files (x86)\\gettext-iconv\\bin;%PATH%
  - "%PYTHON%\\python.exe -m pip install --upgrade pip"
  - "%PYTHON%\\python.exe -m pip install protobuf"
  - ps: Add-Content C:\Python34\Lib\site-packages\google\__init__.py " "
  - "%PYTHON%\\python.exe -m pip install pycrypto"
  - "%PYTHON%\\python.exe -m pip install cx_freeze"
  - "%PYTHON%\\python.exe -m pip install pypiwin32"
  - "%PYTHON%\\python.exe -m pip install pyopenssl"
  - "%PYTHON%\\python.exe -m pip install --global-option=build_ext --global-option --compiler=mingw32 python-axolotl"
  - cd c:\\projects\\gajim\\
  - build.bat
  

build: off

# artifacts:
#   - path: gajim_built\Gajim.exe
#   - name: MyApp

on_finish:
  - ps: Push-AppveyorArtifact gajim_built\Gajim.exe -FileName "Gajim-16.10.1-$($env:APPVEYOR_REPO_COMMIT).exe"


#on_success:
#  You can use this step to upload your artifacts to a public website.
#  See Appveyor's documentation for more details. Or you can simply
#  access your wheels from the Appveyor "artifacts" tab for your build.