forked from log2timeline/plaso
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 964 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 964 Bytes
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
language: python
matrix:
include:
- os: linux
dist: trusty
sudo: required
python: 2.7
- os: osx
language: generic
exclude:
- os: linux
dist: trusty
sudo: required
python: 3.4
before_install:
- ./config/travis/before_install.sh
script:
- if test `uname -s` = 'Linux' && test ${TRAVIS_PYTHON_VERSION} = "2.7"; then coverage run --source=plaso --omit="*_test*,*__init__*,*test_lib*" ./run_tests.py; else ./run_tests.py; fi
- python setup.py build
- python setup.py sdist
- python setup.py bdist
- if test `uname -s` = 'Linux'; then mkdir -p ${PWD}/tmp/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/ && PYTHONPATH=${PWD}/tmp/lib/python${TRAVIS_PYTHON_VERSION}/site-packages/ python setup.py install --prefix=${PWD}/tmp/; fi
- PYTHONPATH=. ./tests/end-to-end.py --debug -c config/end-to-end.ini
after_success:
- if test `uname -s` = 'Linux' && test ${TRAVIS_PYTHON_VERSION} = "2.7"; then coveralls --verbose; fi