forked from gcivil-nyu-org/team-5-inperson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (35 loc) · 823 Bytes
/
.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
language: python
python:
- 3.8
env:
CI: false
install:
- cd backend
- pip install -r requirements.txt
script:
- python -m black . --check
- python -m flake8 .
- python -m coverage run manage.py test --noinput
after_script:
- coveralls
after_success:
coveralls
deploy:
- provider: elasticbeanstalk
access_key_id: $NYCBASICSKEY
secret_access_key: $NYCBASICSSECRETSKEY
region: 'us-west-2'
app: 'nycbasics-staging'
env: 'nycbasics-staging-env'
bucket_name: 'travis-staging-bucket'
on:
branch: develop
- provider: elasticbeanstalk
access_key_id: $NYCBASICKEY2
secret_access_key: $NYCBASICSSECRETSKEY2
region: 'us-west-2'
app: 'prod-nycbasics'
env: 'prod-nycbasics-env'
bucket_name: 'elasticbeanstalk-us-west-2-176854219775'
on:
branch: master