This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 2.05 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
language: python
python:
- '3.7'
node_js:
- '10'
install:
- pip install awscli
- pip install aws-sam-cli
script:
- cd backend
- sam validate
- sam package --template-file template.yaml --s3-bucket osu-so-serverless-builds --output-template-file
packaged.yaml
- cd ../
- npm install
- npm run build
deploy:
- provider: script
script: cd backend; sam deploy --template-file ./packaged.yaml --stack-name meters
--capabilities CAPABILITY_IAM --no-fail-on-empty-changeset;
skip-cleanup: true
on:
branch: master
- provider: pages
local-dir: dist/
skip-cleanup: true
github-token: "$GITHUB_TOKEN"
keep-history: true
on:
branch: master
env:
global:
- AWS_DEFAULT_REGION=us-west-2
- secure: Ts+2BKy50638V5IEWwRlPtDgBZnSSZWBJ+zEdS12rvHwsYSrwiawzrtD119X3iaD85rnBmFbglR+EdxtTOtwU9Ke2XoiKs0e9It3mhA8v3G0+wQkwNsmHwlRZmRuXYECS7FCE//7tG62Ap0PLmi4OBdGC3+Ay6reBNkZveD5A3qT38IR2Gnc9sd+jshumGgRczDor8rJdgNQUCLATmbKpGyyOKqprjebDsn+11ojm6VdviVH73CLCP44dvgLn7gABxMcborcc6qazofBb4K3qcTN5A1Aa3JiweAcmHLj9er0AQXH0oZ/HD3nO6yM03vGssvPoJ6Sd1P9X0AG63MnbvITqA5XFTOb3o/yztPggbWnvTQ6pJHn2ba2gETFcp4I0kiEh0BrWCK346BQmwL9sudqIMGOttwhUWObChu2aSnFGv70HAbtNUgNs1bmvFdZeBxtjabWDkwjwEH7wa24kQGZjj5MreFH1zYGx4u6BY6NoBI/YoV54VV7U7gjqnoEJG3y90gJlCvxcMff0EPTjhpsiduKM45hrYY4VeKuoqD1HeolWxV9NFLtJEA8UCC1QjlgYGv2e4/QCdN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