2016-08-16 23:54:36 +02:00
|
|
|
version: 1.0.{build}
|
|
|
|
|
2016-09-01 05:00:16 +02:00
|
|
|
environment:
|
|
|
|
key_pass:
|
2016-09-09 10:14:56 +02:00
|
|
|
secure: u6DydPcdrUJlxGL9uc7yQRYG8+5rY6aAEE9nfCSzFyNzZlX9NniOp8Uh5ZKQqX7bGEngLI6ipbLfiJvn0XFnhbn2iTkOuMqOXVJVOehvwlQ=
|
2016-09-01 05:00:16 +02:00
|
|
|
pfx_key:
|
2016-09-09 10:14:56 +02:00
|
|
|
secure: 1mwqyRy7hDqDjDK+TIAoaXyXzpNgwruFNA6TPkinUcVM7A+NLD33RQLnfnwVy+R5ovD2pUfhQ6+N0Fqebv6tZh436LIEsock+6IOdpgFwrg=
|
2016-09-01 05:00:16 +02:00
|
|
|
|
|
|
|
|
2016-08-29 21:24:55 +02:00
|
|
|
notifications:
|
|
|
|
- provider: Slack
|
|
|
|
incoming_webhook:
|
2016-09-09 10:14:56 +02:00
|
|
|
secure: LuxwG5OZnnA//gmSXzCKu8/FRqYjCgGfVFqajSsGHeQ1HQNp7rYNhQpsO8/3PK63xKJj3wzt86DJekf9q9Q5OcHa9AHXUQbEveX0psd7elw=
|
2016-08-29 21:21:06 +02:00
|
|
|
|
2016-08-29 01:23:16 +02:00
|
|
|
branches:
|
|
|
|
only:
|
2016-08-29 21:50:54 +02:00
|
|
|
- master
|
|
|
|
- appveyor
|
2016-09-01 02:20:07 +02:00
|
|
|
- windows-setup
|
2016-08-29 01:23:16 +02:00
|
|
|
|
|
|
|
clone_folder: c:\projects\lbry
|
|
|
|
|
2016-08-16 23:54:36 +02:00
|
|
|
init:
|
2016-08-29 01:26:37 +02:00
|
|
|
- ps: >-
|
|
|
|
$env:Path += ";C:\MinGW\bin\"
|
|
|
|
|
2016-09-01 06:19:02 +02:00
|
|
|
$env:Path += ";C:\Program Files (x86)\Windows Kits\10\bin\x86\"
|
|
|
|
|
2016-08-29 01:26:37 +02:00
|
|
|
gcc --version
|
|
|
|
|
|
|
|
mingw32-make --version
|
|
|
|
|
|
|
|
mkdir C:\temp
|
|
|
|
|
|
|
|
Invoke-WebRequest "https://pypi.python.org/packages/55/90/e987e28ed29b571f315afea7d317b6bf4a551e37386b344190cffec60e72/miniupnpc-1.9.tar.gz" -OutFile "C:\temp\miniupnpc-1.9.tar.gz"
|
|
|
|
|
|
|
|
cd C:\temp
|
|
|
|
|
|
|
|
7z e miniupnpc-1.9.tar.gz
|
|
|
|
|
|
|
|
7z x miniupnpc-1.9.tar
|
|
|
|
|
|
|
|
cd C:\temp\miniupnpc-1.9
|
|
|
|
|
|
|
|
mingw32-make.exe -f Makefile.mingw
|
|
|
|
|
|
|
|
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 install
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install "C:\temp\gmpy-1.17-cp27-none-win32.whl"
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install pypiwin32==219
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install six==1.9.0
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install requests==2.9.1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install zope.interface==4.1.3
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install cx-freeze==4.3.3
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install cython==0.24.1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install Twisted==16.0.0
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install Yapsy==1.11.223
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install appdirs==1.4.0
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install argparse==1.2.1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install colorama==0.3.7
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install dnspython==1.12.0
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install ecdsa==0.13
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install jsonrpc==1.2
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install jsonrpclib==0.1.7
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install loggly-python-handler==1.0.0
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install pbkdf2==1.3
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install protobuf==3.0.0
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install pycrypto==2.6.1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install python-bitcoinrpc==0.1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install qrcode==5.2.2
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install requests_futures==0.9.7
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install seccure==0.3.1.3
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install simplejson==3.8.2
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install slowaes==0.1a1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install txJSON-RPC==0.3.1
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install unqlite==0.5.3
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install wsgiref==0.1.2
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install base58==0.2.2
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install googlefinance==0.7
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install git+https://github.com/lbryio/lbryum.git
|
|
|
|
|
|
|
|
cd C:\projects\lbry
|
2016-08-16 23:54:36 +02:00
|
|
|
|
2016-08-29 05:05:40 +02:00
|
|
|
install:
|
2016-09-01 05:54:00 +02:00
|
|
|
- nuget install secure-file -ExcludeVersion
|
|
|
|
- secure-file\tools\secure-file -decrypt packaging\windows\certs\lbry2.pfx.enc -secret %pfx_key%
|
|
|
|
- cmd: C:\Python27\python.exe setup.py install
|
2016-09-01 05:00:16 +02:00
|
|
|
|
2016-08-29 05:05:40 +02:00
|
|
|
|
2016-08-16 23:54:36 +02:00
|
|
|
build_script:
|
2016-09-01 06:47:38 +02:00
|
|
|
- ps: C:\Python27\python.exe setup.py build bdist_msi
|
|
|
|
- signtool.exe sign /f packaging\windows\certs\lbry2.pfx /p %key_pass% /tr http://tsa.starfieldtech.com /td SHA256 /fd SHA256 dist\*.msi
|
2016-09-01 05:00:16 +02:00
|
|
|
|
2016-08-16 23:54:36 +02:00
|
|
|
|
2016-08-29 05:11:24 +02:00
|
|
|
test_script:
|
2016-08-29 05:05:40 +02:00
|
|
|
- ps: >-
|
|
|
|
C:\Python27\Scripts\pip.exe install mock
|
|
|
|
|
|
|
|
C:\Python27\Scripts\pip.exe install pylint
|
|
|
|
|
|
|
|
C:\Python27\python.exe C:\Python27\Scripts\trial.py C:\projects\lbry\tests
|
|
|
|
|
2016-08-16 23:54:36 +02:00
|
|
|
artifacts:
|
|
|
|
- path: dist/*.msi
|
|
|
|
name: msi
|
|
|
|
- path: build/exe.win32-2.7/
|
2016-08-27 07:37:25 +02:00
|
|
|
name: lbry-portable
|
|
|
|
- path: packaging/windows/lbry-win32-app/LBRY-URI.reg
|
2016-09-01 06:29:57 +02:00
|
|
|
name: LBRY-URI
|