forked from log2timeline/dfvfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.02 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
language: python
matrix:
include:
- os: linux
dist: trusty
sudo: required
group: edge
python: 2.7
env: TOXENV=py27
- os: linux
dist: trusty
sudo: required
group: edge
python: 3.4
env: TOXENV=py34
- 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 tox --sitepackages ${TOXENV}; fi
- python setup.py build
- python setup.py sdist
- python setup.py bdist
- if test ${TRAVIS_OS_NAME} = "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
after_success:
- if test ${TRAVIS_OS_NAME} = "linux" && test ${TRAVIS_PYTHON_VERSION} = "2.7"; then coveralls --verbose; fi