-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
41 lines (38 loc) · 982 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
os: linux
dist: xenial
cache: packages
warnings_are_errors: false
after_success:
- Rscript -e 'covr::codecov()'
branches:
only:
- master
- develop
script:
- zip -r latest *
- mkdir -p deployment/msstats-dev
- mv latest.zip deployment/msstats-dev/latest.zip
deploy:
- provider: s3
access_key_id: $AWS_MASTER_ACCESS_ID
secret_access_key: $AWS_MASTER_SECRET_KEY
local_dir: deployment/msstats-dev
skip_cleanup: true
on:
branch: develop
repo: Vitek-Lab/MSstats-dev
bucket: $AWS_MASTER_S3_BUCKET
region: $AWS_REGION
- provider: codedeploy
access_key_id: $AWS_MASTER_ACCESS_ID
secret_access_key: $AWS_MASTER_SECRET_KEY
bucket: $AWS_MASTER_S3_BUCKET
key: latest.zip
bundle_type: zip
application: $AWS_MASTER_DEPLOYMENT_APPLICATION_NAME
deployment_group: $AWS_MASTER_DEPLOYMENT_GROUP_NAME
region: $AWS_REGION
on:
branch: develop