-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (39 loc) · 944 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language:
python
services:
- elasticsearch
- docker
python:
- 3.6
sudo: required
env:
global:
- K8S_OPS_REPO_BRANCH=master
- K8S_OPS_REPO_SLUG=datahq/deploy
- DOCKER_IMAGE=datopian/specstore
- DEPLOY_YAML_UPDATE_FILE=values.auto-updated.yaml
- DEPLOY_VALUES_CHART_NAME=specstore
- DEPLOY_VALUES_IMAGE_PROP=image
- DEPLOY_COMMIT_MESSAGE="automatic update of dhq-specstore"
- DEPLOY_GIT_USER=dhq-deployer
install:
- pip install google-compute-engine
- make install
script:
- make test
- curl -s https://raw.githubusercontent.com/datahq/deploy/master/apps_travis_script.sh > .travis.sh
- bash .travis.sh script
before_script:
- moto_server &
- sleep 30
- curl localhost:9200
- curl localhost:5000
after_success:
- coveralls
deploy:
skip_cleanup: true
provider: script
script: bash .travis.sh deploy
on:
branch: master