-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
39 lines (32 loc) · 1.12 KB
/
appveyor.yml
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
image: ubuntu
stack: python 3.8
environment:
PYTHON: 3.8
DJANGO_SETTINGS_MODULE: rooibos.settings.test
PYTHONPATH: .
TWINE_REPOSITORY: testpypi
TWINE_USERNAME: __token__
TWINE_PASSWORD:
secure: OROGS4klyQKNAlNz7wtLTG28KjvQpKkHVWBWfAG9oOdPlmxrP+ARpEDMH9TD+7igCxG0LAB3PZVCdBkIazZe9KtIgGTwkyobc4Rl7Dtm3e0DVw7brfc18ORf4iYs6ppiZsZsdBU+2z+gc4ob3agBbpdLQDq4LZZsOviE34xxMQ6iLU+F0Zpk0hap5v5CqnwYZxMFJwSDhjOmO13gWJZlwJYinvKazQMlZAYasojLVU0skRG+9MTYLvWpWZKRsm+Z
install:
- sudo apt-get install -y libsasl2-dev libldap2-dev
- source ~/venv${PYTHON}/bin/activate
- pip install -U -q wheel twine
build_script:
- python setup.py bdist_wheel
test_script:
- source ~/venv${PYTHON}/bin/activate
- pip install dist/mdid*.whl
- django-admin test
after_test:
- if [ "$APPVEYOR_REPO_BRANCH" == "master--disabled" ]; then twine upload dist/mdid*.whl; fi
artifacts:
- path: dist/mdid*.whl
deploy:
provider: S3
access_key_id: AKIAJTFTACX5PEZXKG3Q
secret_access_key:
secure: rQGYSegd6l2CN6gcS/vOptJ7Q7v6rLjdlDCLm1MKns3StSTrAHjoIbXRIMuZymoM
bucket: vrchost-jenkins
set_public: true
folder: packages/$APPVEYOR_REPO_BRANCH