File: .travis.yml

package info (click to toggle)
elastalert 0.2.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,472 kB
  • sloc: python: 12,252; makefile: 108; sh: 2
file content (42 lines) | stat: -rw-r--r-- 1,262 bytes parent folder | download | duplicates (2)
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'
env:
- TOXENV=docs
- TOXENV=py36
install:
- pip install tox
- >
  if [[ -n "${ES_VERSION}" ]] ; then
    wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ES_VERSION}.tar.gz
    mkdir elasticsearch-${ES_VERSION} && tar -xzf elasticsearch-${ES_VERSION}.tar.gz -C elasticsearch-${ES_VERSION} --strip-components=1
    ./elasticsearch-${ES_VERSION}/bin/elasticsearch &
  fi
script:
- >
  if [[ -n "${ES_VERSION}" ]] ; then
    wget -q --waitretry=1 --retry-connrefused --tries=30 -O - http://127.0.0.1:9200
    make test-elasticsearch
  else
    make test
  fi
jobs:
  include:
    - stage: 'Elasticsearch test'
      env: TOXENV=py36 ES_VERSION=7.0.0-linux-x86_64
    - env: TOXENV=py36 ES_VERSION=6.6.2
    - env: TOXENV=py36 ES_VERSION=6.3.2
    - env: TOXENV=py36 ES_VERSION=6.2.4
    - env: TOXENV=py36 ES_VERSION=6.0.1
    - env: TOXENV=py36 ES_VERSION=5.6.16

deploy:
  provider: pypi
  user: yelplabs
  password:
    secure: TpSTlFu89tciZzboIfitHhU5NhAB1L1/rI35eQTXstiqzYg2mweOuip+MPNx9AlX3Swg7MhaFYnSUvRqPljuoLjLD0EQ7BHLVSBFl92ukkAMTeKvM6LbB9HnGOwzmAvTR5coegk8IHiegudODWvnhIj4hp7/0EA+gVX7E55kEAw=
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: Yelp/elastalert
    branch: master