48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
version: 1.0.{build}
|
|
|
|
branches:
|
|
only:
|
|
master
|
|
|
|
environment:
|
|
GH_TOKEN:
|
|
secure: LiI5jyuHUw6XbH4kC3gP1HX4P/v4rwD/gCNtaFhQu2AvJz1/1wALkp5ECnIxRySN
|
|
key_pass:
|
|
secure: u6DydPcdrUJlxGL9uc7yQRYG8+5rY6aAEE9nfCSzFyNzZlX9NniOp8Uh5ZKQqX7bGEngLI6ipbLfiJvn0XFnhbn2iTkOuMqOXVJVOehvwlQ=
|
|
pfx_key:
|
|
secure: 1mwqyRy7hDqDjDK+TIAoaXyXzpNgwruFNA6TPkinUcVM7A+NLD33RQLnfnwVy+R5ovD2pUfhQ6+N0Fqebv6tZh436LIEsock+6IOdpgFwrg=
|
|
AWS_ACCESS_KEY_ID:
|
|
secure: iVGwoJ7ogspjSmuqr+haVPLglSgQsp6tUZx6mIlKH7Q=
|
|
AWS_SECRET_ACCESS_KEY:
|
|
secure: zKaqdZGPl0exDL5YhJkb33prSemC9Rzg9S7Lw2wFy1WnJ6ffgl6mQH7jqJDUTqsY
|
|
|
|
#notifications:
|
|
# - provider: Slack
|
|
# incoming_webhook:
|
|
# secure: LuxwG5OZnnA//gmSXzCKu8/FRqYjCgGfVFqajSsGHeQ1HQNp7rYNhQpsO8/3PK63xKJj3wzt86DJekf9q9Q5OcHa9AHXUQbEveX0psd7elw=
|
|
|
|
|
|
clone_folder: c:\projects\lbry
|
|
|
|
test_script:
|
|
- cd C:\projects\lbry\
|
|
- pip install cython
|
|
- pip install mock pylint unqlite Faker
|
|
- pip install .
|
|
- pylint lbrynet
|
|
# disable tests for now so that appveyor can build the app
|
|
- set PYTHONPATH=.
|
|
- trial lbrynet.tests
|
|
# TODO: integration tests do not work
|
|
#- python -m unittest discover tests/integration
|
|
#- rvm use 2.3.1 && gem install danger --version '~> 4.0' && danger
|
|
|
|
|
|
build_script:
|
|
- cd C:\projects\lbry\build\
|
|
- ps: .\build.ps1
|
|
|
|
|
|
artifacts:
|
|
- path: build\dist\*.zip
|
|
name: lbrynet-daemon
|