-
Notifications
You must be signed in to change notification settings - Fork 118
/
.travis.yml
30 lines (28 loc) · 1.07 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
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install -r requirements-py26.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install lz4a; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install lz4a; fi
- pip install .
script:
- python tests/ut/test_util.py
- python tests/sample.py
- python tests/integration_test/test_logtail_config.py
- python tests/integration_test/test_entity.py
- python tests/integration_test/test_log_handler.py
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then python tests/es_migration/test_doc_logitem_converter.py; fi
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then python tests/es_migration/test_index_logstore_mappings.py; fi
- if [[ $TRAVIS_PYTHON_VERSION != 2.6 ]]; then python tests/es_migration/test_mapping_index_converter.py; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python tests/es_migration/test_doc_logitem_converter_p27.py; fi