forked from OpenSpending-Clone/os-conductor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 2.33 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
language: python
python:
- 3.6
services:
- docker
addons:
postgresql: '9.4'
env:
global:
- OS_ES_USERS_INDEX_NAME=test_users
- OS_ES_PACKAGES_INDEX_NAME=test_packages
- OS_CONDUCTOR_ENGINE=postgresql://postgres@/postgres
- OS_ELASTICSEARCH_ADDRESS=localhost:9200
- OS_ACCESS_KEY_ID=access_key
- OS_SECRET_ACCESS_KEY=secret_access_key
- OS_STORAGE_BUCKET_NAME=
- secure: ODGCoD6/LwGuKw+YiwjxlYOEgS/SxH1HKglWmM7c1EHennxt+UuVuz9ItL8LKh+hw+cmm6K0XepA0l+W/9t/S4o3Mhj5CEhQzOXMT4bBoRLry9o+dJkdacMo386gx2MsRq+hG6ks55nYKXsaJ/C8PmYG3dIbbHiAWUXZuVaQA5beDDQ4zZToBBfvXtOLPaVVAuy6z4Ohw0zQwDrpPN+aqEd4rY3tukSp0Y0GET69VEwJtuFS2cQ9LXyOVKG6dE+U8K7o6OkBfLapdIc9ML2rgkBNKQMJEDiv1cQmNHzcYUoJIC2x/RoBNbMc6xe/pEnW9EEdFAVxYyxn1A85D+DzJ9x3OyG8Y/jdLgqZICKIaKVyRS+6IVDhWhOpGNnwj61Y+tvzb+EW5hFB96gJz2iIV4bjCLE1uR1w+UzbYLLiSlkR2zpHPrsBLsoeTpeB5eSXrriSbfg+J62jOE7H+s6vRv/Pi2vFUMUOVvZoIH828I3WbcBpYOSaTd5FFj4ldxvATDgJi9uUJfJujUFGbkNueXdlNZyxmTYRU1gFfQhzK1QZ2dNlok1hM16/PS12p3+9VsU9dFONEjwCuE8YaRgAqViZL7jLldNTdKLoWHc5oe+g3p9qyT8PxJ7kySRJeiDGgbnHgSd4NcVoAJfNGy/bRCI7oYxcIMK2pr4/nD+bwP4=
- secure: Ngku3jW4GYa4Kp3Y7nYsPFPDC5XQvLJ947EHdgb+Dr2IFIITfNIBQ6wZSqP+KBYYIaDwMR13ilV4zouzLoa9sKG9y5caVbqgx64TG4Z9K12jxUrdu6AO1ZSWtB/I6+LDGYTkxxY8c69amlraDvSZ2VBxxhELP2Ws2ysE11bnEBjLnY/H4B+PYXK0BdtnpVDmXtFQweZDGYUgTRrztNvdaB269uB5Up6hbGhqghWALlILnylOR+/7Cxnz4C59Ui83hZPqy9TAvMtMd+f6Z0s3/2//yGdoNvSi1SbqZngV7lsQMuQcEmX8rM9Db3pKQH4z3ev2zPA7fxLnWVnamMDapEFlFzS8S3ZtuiQ2Wj20HQzort+5vMVf/h/Di8v0nRqrtN9B51j1d/o49QS59z9TsDnRUnuZaHpgtTV54AnnfjcAKxSCOKG3brJsQ4ZBF/9bWYI2KFAnHROYBIEkDqfa93A0ZmcyK256dKzClMFqrkHEZ5VItWz9grch8B9piaUgL1dAs8osaEPok5EojSZ/SjEJqRj3GJ4Kfo7MEZfWnpNDoVLtnVRnfqCnlDxrXwDFEHOR0i/NPj1QBuslRk1WB5ZWbLWgUmo2orUQz0w95Enew2b39ns+4OSE7SVph+Fj0Ffw2LB/oYvMjVzeuYW/BvwbDq0wjdtwB/64M3vbHLs=
before_install:
- sudo rm -f /etc/boto.cfg
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.11.deb
&& sudo dpkg -i --force-confnew elasticsearch-5.6.11.deb && sudo service elasticsearch
restart
install:
- sudo apt-get install libleveldb-dev libleveldb1v5
- pip install tox
- make ci-run
before_script:
- sleep 30
- curl localhost:9200
script:
- make ci-test
- tox
after_success:
- coveralls
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then make ci-push-tag TAG="${TRAVIS_PULL_REQUEST_BRANCH////_}";
fi
deploy:
- provider: script
script: make ci-push
on:
branch: master