-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.travis.yml
44 lines (37 loc) · 1.14 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
36
37
38
39
40
41
42
43
44
sudo: true
# Elasticsearch 5 requires Java 8
# https://www.peterbe.com/plog/elasticsearch-5-in-travis-ci
addons:
apt:
packages:
- oracle-java8-set-default
before_install:
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.1.1.deb && sudo dpkg -i --force-confnew elasticsearch-5.1.1.deb && sudo service elasticsearch start
- wget http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz -O /tmp/dynamodb_local_latest.tar.gz
- tar -xzf /tmp/dynamodb_local_latest.tar.gz -C /tmp
- java -Djava.library.path=/tmp/DynamoDBLocal_lib -jar /tmp/DynamoDBLocal.jar -inMemory &
- sleep 2
- echo $BASE64_GOOGLE_KEY | base64 --decode > /tmp/firestore-node-viewmodel-key.json
services:
- mongodb
- couchdb
- redis-server
language: node_js
node_js:
- "4"
- "6"
- "8"
- "10"
branches:
only:
- master
notifications:
email:
env:
global:
- AWS_ACCESS_KEY_ID=AKID
- AWS_SECRET_ACCESS_KEY=SECRET
- AWS_REGION=us-east-1
- AWS_DYNAMODB_ENDPOINT=http://localhost:8000
- GOOGLE_APPLICATION_CREDENTIALS=/tmp/firestore-node-viewmodel-key.json