-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
81 lines (80 loc) · 2.26 KB
/
Copy path.travis.yml
File metadata and controls
81 lines (80 loc) · 2.26 KB
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
78
79
80
81
matrix:
include:
- language: java
jdk: openjdk11
dist: xenial
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
services:
- docker
before_install:
- docker pull amazon/dynamodb-local
- docker run -d -p 8000:8000 amazon/dynamodb-local
- docker ps
- chmod +x gradlew
script:
- ./gradlew clean build
after_success:
- bash <(curl -s https://codecov.io/bash)
# FIXME
# deploy:
# - provider: s3
# access_key_id: $ACCESS_KEY_ID
# secret_access_key: $SECRET_ACCESS_KEY
# region: $REGION
# bucket: $LAMBDA_BUCKET
# skip_cleanup: true
# local_dir: openmpis-agency/build/distributions
# on:
# all_branches: true
# - provider: s3
# access_key_id: $ACCESS_KEY_ID
# secret_access_key: $SECRET_ACCESS_KEY
# region: $REGION
# bucket: $LAMBDA_BUCKET
# skip_cleanup: true
# local_dir: openmpis-institution/build/distributions
# on:
# all_branches: true
- language: node_js
node_js: 13.9.0
dist: xenial
before_install:
- cd openmpis-web
install:
- npm install
script:
- yarn build
deploy:
- provider: s3
access_key_id: $ACCESS_KEY_ID
secret_access_key: $SECRET_ACCESS_KEY
region: $REGION
bucket: $WEB_BUCKET
skip_cleanup: true
local_dir: build
on:
all_branches: true
deploy:
- provider: s3
access_key_id: $ACCESS_KEY_ID
secret_access_key: $SECRET_ACCESS_KEY
region: $REGION
bucket: $LAMBDA_BUCKET
skip_cleanup: true
local_dir: openmpis-aws
on:
all_branches: true
# - provider: cloudformation
# access_key_id: $ACCESS_KEY_ID
# secret_access_key: $SECRET_ACCESS_KEY
# region: $REGION
# template: https://openmpis-aws-cloudformation.s3-ap-southeast-2.amazonaws.com/openmpis-cloudformation-template.yml
# stack_name: openmpis
# on:
# all_branches: true