forked from developmentseed/landsat-api
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
22 lines (21 loc) · 921 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
language: node_js
node_js:
- '0.12'
services:
- elasticsearch
before_script:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
- sudo apt-get update
- sudo apt-get install -y mongodb-org=2.6.6 mongodb-org-server=2.6.6 mongodb-org-shell=2.6.6 mongodb-org-mongos=2.6.6 mongodb-org-tools=2.6.6
- sleep 15 #mongo may not be responded directly. See http://docs.travis-ci.com/user/database-setup/#MongoDB
- mongo --version
deploy:
provider: heroku
api_key:
secure: "BaeaKT5jlZoEwz2pTDVbuDHyT/FaXdLQp/IJHld3pMloxeq2X4dO++eFN/LqBhCH0CoihJb7n5VcIQb8gvqlL0GKI9C+fMGw5M4giHNn2FpBsKX3hBiQtlP39fQHtkNbjbt++BoAJcsBW7lzEO0HJ0FdNUTkASA6eR145FvtcfE="
app:
master: ad-landsat-api
develop: ad-landsat-api-staging
on:
repo: AstroDigital/landsat-api