|
|
|
@ -9,14 +9,6 @@ dependencies:
|
|
|
|
|
- echo "{\"mapzen\":{\"api_key\":{\"search.mapzen.com\":\"$SEARCH_API_KEY\",\"pelias.mapzen.com\":\"$PELIAS_API_KEY\"}}}" >~/pelias.json |
|
|
|
|
|
|
|
|
|
deployment: |
|
|
|
|
prod: |
|
|
|
|
branch: production |
|
|
|
|
commands: |
|
|
|
|
- git clone git@github.com:pelias/acceptance-tests && cd acceptance-tests && npm install |
|
|
|
|
- git clone git@github.com:mapzen/pelias-deploy.git && cd pelias-deploy && bundle install |
|
|
|
|
- cd pelias-deploy && bundle exec rake deploy:api[prod] |
|
|
|
|
- cd acceptance-tests && npm test -- -e prod |
|
|
|
|
- cd pelias-deploy && bundle exec rake deploy:api[prod_build] |
|
|
|
|
dev: |
|
|
|
|
branch: master |
|
|
|
|
commands: |
|
|
|
|