-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
33 lines (33 loc) · 2.15 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
language: java
jdk: oraclejdk8
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/
before_install: source .travis/tracers.sh
script: ./gradlew build
deploy:
provider: lambda
skip_cleanup: true
function_name: extractor-java
region: us-east-2
role: arn:aws:iam::695208893210:role/lambda-role
runtime: java8
module_name: org.algorithm_visualizer
handler_name: Extractor::handleRequest
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
zip: build/distributions/extractor.java.zip
timeout: 10
memory_size: 512
on:
branch: master
env:
global:
# AWS_ACCESS_KEY_ID
- secure: ls9JVpyq5QgjYtJwm5lDK483xJ+hKTlcMyCCEVxcRzQ+CFFnLzdxEFVa9v1Acl1RLgRCYYeVgXPzDENRi3t0wK+sQsDmqifPZ6h1/gCKjFbS/6e6eFkuSPZ02stLo0HkDqw1cODl/kLnMqlprlQY7yhTB1pUFo1hTHPlyR4V8sbXnbwP5wwtL0klKhVf1kjt8n5NQg7Wdc5mAAd28IUU2DyyFuZYWiVp0i1RDe18M4sT33VroGhzH0pjeXcukViR2a4VmTQJy/F8kdLgGDxUxyQ/T1VqVLCdez8eKSNrqrA3TGuh8IJVWuQsXvvtWtODwbsthrMpCuCOD4FsDkiXvFD6rbmeMBMl+b/7MI9JoIjY7uBrBCykLeI6Lzo9zxlFuxS6Qfh39lMtZLaOsbNI5MAea3LBCeXbsqXx1p7ySkUcTMiuoIG1ciLTIALz4tMFqKWEW12DI5o7Mh0RmrPL1giEZBqx0OdyhjDalnxiXxqwJKcMfxiCgDb1ZWeIQGWsQNah7g3ARbKZnmX8+Jspwvt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