build appveyor branch only

This commit is contained in:
Jack 2016-08-28 19:23:16 -04:00
parent c0e6bb97d8
commit b516119224

View file

@ -1,5 +1,11 @@
version: 1.0.{build} version: 1.0.{build}
branches:
only:
- /appveyor
clone_folder: c:\projects\lbry
init: init:
- ps: $env:Path += ";C:\MinGW\bin\" - ps: $env:Path += ";C:\MinGW\bin\"
- ps: gcc --version - ps: gcc --version
@ -10,10 +16,9 @@ init:
- ps: 7z e miniupnpc-1.9.tar.gz - ps: 7z e miniupnpc-1.9.tar.gz
- ps: 7z x miniupnpc-1.9.tar - ps: 7z x miniupnpc-1.9.tar
- ps: cd C:\temp\miniupnpc-1.9 - ps: cd C:\temp\miniupnpc-1.9
- ps: | - ps: mingw32-make.exe -f Makefile.mingw
mingw32-make.exe -f Makefile.mingw - ps: C:\Python27\python.exe C:\temp\miniupnpc-1.9\setupmingw32.py build --compiler=mingw32
C:\Python27\python.exe C:\temp\miniupnpc-1.9\setupmingw32.py build --compiler=mingw32 - ps: C:\Python27\python.exe C:\temp\miniupnpc-1.9\setupmingw32.py install
C:\Python27\python.exe C:\temp\miniupnpc-1.9\setupmingw32.py install
- ps: Invoke-WebRequest "https://github.com/lbryio/lbry/raw/master/packaging/windows/libs/gmpy-1.17-cp27-none-win32.whl" -OutFile "C:\temp\gmpy-1.17-cp27-none-win32.whl" - ps: Invoke-WebRequest "https://github.com/lbryio/lbry/raw/master/packaging/windows/libs/gmpy-1.17-cp27-none-win32.whl" -OutFile "C:\temp\gmpy-1.17-cp27-none-win32.whl"
- ps: C:\Python27\Scripts\pip.exe install "C:\temp\gmpy-1.17-cp27-none-win32.whl" - ps: C:\Python27\Scripts\pip.exe install "C:\temp\gmpy-1.17-cp27-none-win32.whl"
- ps: C:\Python27\Scripts\pip.exe install pypiwin32==219 - ps: C:\Python27\Scripts\pip.exe install pypiwin32==219
@ -47,11 +52,13 @@ init:
- ps: C:\Python27\Scripts\pip.exe install base58==0.2.2 - ps: C:\Python27\Scripts\pip.exe install base58==0.2.2
- ps: C:\Python27\Scripts\pip.exe install googlefinance==0.7 - ps: C:\Python27\Scripts\pip.exe install googlefinance==0.7
- ps: C:\Python27\Scripts\pip.exe install git+https://github.com/lbryio/lbryum.git - ps: C:\Python27\Scripts\pip.exe install git+https://github.com/lbryio/lbryum.git
- ps: cd C:\projects\lbry
build_script: build_script:
- cmd: cd C:\projects\lbry
- cmd: C:\Python27\python.exe setup_win32.py build bdist_msi - cmd: C:\Python27\python.exe setup_win32.py build bdist_msi
test: off
artifacts: artifacts:
- path: dist/*.msi - path: dist/*.msi
name: msi name: msi