-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
77 lines (77 loc) · 10.1 KB
/
.travis.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
language: python
sudo: required
services:
- docker
python:
- 3.6
branches:
only:
- /.*/
notifications:
email:
on_success: change
on_failure: change
before_install:
- python3 -c 'import os,sys; os.set_blocking(sys.stdout.fileno(), True)'
install:
- docker-compose build
- pip install --upgrade pip
- pip install -r requirements-dev.txt
before_script:
# We will run a postgres service into docker, so wee need to stop the postgres service
- sudo service postgresql stop
script:
- docker-compose run api pycodestyle --config=.pycodestylerc .
after_success:
- docker-compose run -e TRAVIS_JOB_ID -e TRAVIS_BRANCH -e TRAVIS api coveralls
- python utils/write_secure_env.py
- bash utils/deploy.sh
env:
global:
- DEBUG=True
- ALLOWED_HOSTS=127.0.0.1, localhost, h7alt5p1bi.execute-api.ca-central-1.amazonaws.com,
- ORGANIZATION=Blitz Paradisio
- EMAIL_SERVICE=True
- AUTO_ACTIVATE_USER=False
- ACTIVATION_URL=https://dev.thesez-vous.org/membership/confirmation/{{token}}
- FORGOT_PASSWORD_URL=https://dev.thesez-vous.org/reset-password/{{token}}
- RETREAT_UNSUBSCRIBE_URL=https://dev.thesez-vous.org/wait_queue/{{wait_queue_id}}/unsubscribe
- AWS_S3_REGION_NAME=ca-central-1
- AWS_STORAGE_STATIC_BUCKET_NAME=thesezvous-api-static
- AWS_STORAGE_MEDIA_BUCKET_NAME=thesezvous-api-media-dev
- AWS_S3_STATIC_CUSTOM_DOMAIN=thesezvous-api-static.s3.ca-central-1.amazonaws.com
- AWS_S3_MEDIA_CUSTOM_DOMAIN=thesezvous-api-media-dev.s3.ca-central-1.amazonaws.com
- STATIC_URL=https://thesezvous-api-static.s3.ca-central-1.amazonaws.com/
- STATICFILES_STORAGE=blitz_api.storage_backends.S3StaticStorage
- MEDIA_URL=https://thesezvous-api-media-dev.s3.ca-central-1.amazonaws.com/
- MEDIA_ROOT=https://thesezvous-api-media-dev.s3.ca-central-1.amazonaws.com/
- DEFAULT_FILE_STORAGE=blitz_api.storage_backends.S3MediaStorage
- CONFIRM_SIGN_UP=36,
- FORGOT_PASSWORD=40,
- TEMPLATE_EMAIL_THROWBACK_VIRTUAL_RETREAT=43,
- TEMPLATE_EMAIL_REMINDER_VIRTUAL_RETREAT=41,
- TEMPLATE_EMAIL_WELCOME_VIRTUAL_RETREAT=42,
- EMAIL_BACKEND=anymail.backends.sendinblue.EmailBackend
- PAYSAFE_BASE_URL=https://api.test.paysafe.com/
- PAYSAFE_VAULT_URL=customervault/v1/
- PAYSAFE_CARD_URL=cardpayments/v1/
- ADMINS='("Support FJNR", "[email protected]"),'
- EMAIL_HOST=smtp.zoho.com
- DATA_UPLOAD_MAX_MEMORY_SIZE=5242880
- FILE_UPLOAD_MAX_MEMORY_SIZE=5242880
- EXTERNAL_SCHEDULER_URL=https://cron-manager.fjnr.ca
- secure: bG5iV/nSmrRH+u3cloAIyVVaGZQ6OujoR3K3QdvhBofUDA7Ila2tXrovDUrjDzL7Lq/rIZelVA8kIy/1RyWoEV0Rq+2x5nKY37NAtOymxNM24I/kbRczuD58qbPrW8Yoht4WPiX75MLretug+9ambT4M7drbY/+w6NGKCAqX4BDfrxFpDFdNn2+Uiw/NycaUkdSBZb3puZ7CIsStaXeuxMAS6mWXjJz2EQSEsFDzLyNZNICraR7at6m9ip5bwEb7DeFLbJMPs2JNvoP3lk+DdkBJ236bhccBYUdfMfzmToJQTG8ig3KaLVZ6DJpeyxXT4L4lxGSp2kzNs1Kv3CLfeXfk89+5EPw6Sk/wfYRtrBMBLwx7Lb+0/cRs1XxJxf90btrG6I7leYS8J4bqx6gQalJAOZgzr/CN7xgpUbOjO77Wl46uvYIzIX2KEJTw2HTEfv+7olyqJ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