forked from log2timeline/l2tdevtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 817 Bytes
/
.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
language: python
matrix:
include:
- os: linux
dist: trusty
sudo: required
group: edge
python: 2.7
- os: linux
dist: trusty
sudo: required
group: edge
python: 3.4
- os: osx
osx_image: xcode8.1
language: generic
env: PYTHONPATH=/Library/Python/2.7/site-packages/
install:
- ./config/travis/install.sh
script:
- if test ${TRAVIS_OS_NAME} = "osx"; then PYTHONPATH=/Library/Python/2.7/site-packages/ /usr/bin/python ./run_tests.py; elif test ${TRAVIS_OS_NAME} = "linux"; then if test ${TRAVIS_PYTHON_VERSION} = "2.7"; then coverage run --source=l2tdevtools --omit="*_test*,*__init__*,*test_lib*" ./run_tests.py; else ./run_tests.py; fi; fi
after_success:
- if test ${TRAVIS_OS_NAME} = "linux" && test ${TRAVIS_PYTHON_VERSION} = "2.7"; then coveralls --verbose; fi