##// END OF EJS Templates
travis: don't start default es service
ergo -
Show More
@@ -1,46 +1,45 b''
1 language: python
1 language: python
2
2
3 dist: xenial
3 dist: xenial
4
4
5 notifications:
5 notifications:
6 on_success: change
6 on_success: change
7 on_failure: always
7 on_failure: always
8
8
9 matrix:
9 matrix:
10 include:
10 include:
11 - python: 3.5
11 - python: 3.5
12 env: TOXENV=py35 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
12 env: TOXENV=py35 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
13 - python: 3.6
13 - python: 3.6
14 env: TOXENV=py36 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
14 env: TOXENV=py36 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
15 addons:
15 addons:
16 postgresql: "9.6"
16 postgresql: "9.6"
17 - python: 3.6
17 - python: 3.6
18 env: TOXENV=py36 PGPORT=5432 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
18 env: TOXENV=py36 PGPORT=5432 ES_VERSION=6.6.2 ES_DOWNLOAD_URL=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${ES_VERSION}.tar.gz
19 addons:
19 addons:
20 postgresql: "10"
20 postgresql: "10"
21 apt:
21 apt:
22 packages:
22 packages:
23 - postgresql-10
23 - postgresql-10
24 - postgresql-client-10
24 - postgresql-client-10
25
25
26 install:
26 install:
27 - wget ${ES_DOWNLOAD_URL}
27 - wget ${ES_DOWNLOAD_URL}
28 - tar -xzf elasticsearch-oss-${ES_VERSION}.tar.gz
28 - tar -xzf elasticsearch-oss-${ES_VERSION}.tar.gz
29 - ./elasticsearch-oss-${ES_VERSION}/bin/elasticsearch &
29 - ./elasticsearch-oss-${ES_VERSION}/bin/elasticsearch &
30 - travis_retry pip install -U setuptools pip tox
30 - travis_retry pip install -U setuptools pip tox
31
31
32 script:
32 script:
33 - travis_retry tox
33 - travis_retry tox
34
34
35 services:
35 services:
36 - postgresql
36 - postgresql
37 - elasticsearch
38 - redis
37 - redis
39
38
40 before_script:
39 before_script:
41 - psql -c "create user test with encrypted password 'test';" -U postgres
40 - psql -c "create user test with encrypted password 'test';" -U postgres
42 - psql -c 'create database appenlight_test owner test;' -U postgres
41 - psql -c 'create database appenlight_test owner test;' -U postgres
43
42
44 after_success:
43 after_success:
45 - pip install coveralls
44 - pip install coveralls
46 - coveralls
45 - coveralls
General Comments 4
Under Review
author

Auto status change to "Under Review"

Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now