-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
52 lines (39 loc) · 975 Bytes
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "{build}"
branches:
only:
- master
services:
- postgresql
build: false
environment:
nodejs_version: "6"
DEBUG: True
DJANGO_SECRET_KEY: secret
DATABASE_URL: postgres://postgres:Password12!@localhost:5432/networkapi
USE_S3: False+ CORS_WHITELIST: "*"
XSS_PROTECTION: True
CONTENT_TYPE_NO_SNIFF: True
SET_HSTS: False
SSL_REDIRECT: False
X_FRAME_OPTIONS: DENY
ALLOWED_HOSTS: localhost
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.1"
PYTHON_ARCH: "32"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %%PYTHON_ARCH"
install:
- ps: Install-Product node $env:nodejs_version
- npm install
- "virtualenv network -p %PYTHON%/python.exe"
- "./network/Scripts/activate"
- "pip install -r requirements.txt"
test_script:
- node --version
- npm --version
- npm test
- "./network/Scripts/activate"
- "flake8 network-api/app"
- "python network-api/app/manage.py test"
clone_depth: 1