-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) · 1.11 KB
/
.travis.yml
File metadata and controls
29 lines (29 loc) · 1.11 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
language: ruby
cache: bundler
services:
- elasticsearch
rvm:
- 2.1.4
env:
global:
- WIKIPEDIA_URL=https://en.wikipedia.org/wiki/List_of_postcode_areas_in_the_United_Kingdom
- MONGO_HOST=localhost
- MONGO_DB=hippodamus_test
- JQ=./bin/jq
- secure: ARWe7PjUB/CGQymczAq+DazUsS8fZL/8FO21uleJiU0u9JjAAJUv4faQ6aIhRsK0aoXOHS/sv/5dKm6hldELudy49uXLK5b+CEzdv6QJwHXhiIgq3BuJTd68/L0xK2t9gfwzGB1WjGCNimWoZ8Wz1dGteSSJ5cLbgacyoGWmzC0=
before_install:
- 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 mongodb-org-server
- sudo apt-get install mongodb-org
before_script:
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
deploy:
provider: heroku
api_key:
secure: m8HMOlpAmJjWSCtrRAe3zmZLYKnNh+VHMEffCzzXDeGuRZ3pKFLwTRJeuBz3b+U/BU9CegwmKYVI1jUf9YoV6Rkf4loWRMP5RtFPGyVMczE+GzsIUldXOgdNwo7tfYmaCc6H8FnPLqHp6JBALvppzK+7vunExE6NspTkHvALWQU=
app: oa-hippodamus
on:
repo: OpenAddressesUK/hippodamus