forked from s2technologies/python_testspace_xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (19 loc) · 647 Bytes
/
.travis.yml
File metadata and controls
23 lines (19 loc) · 647 Bytes
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
python:
- "2.7"
- "3.5"
before_install:
- mkdir -p $HOME/bin
- curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
- testspace config url s2.testspace.com
install:
- pip install tox
script:
- export PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR
- tox -e py
after_script:
- if [ "${TRAVIS_PYTHON_VERSION}" = "3.5" ]; then
testspace [${TRAVIS_PYTHON_VERSION}]flake8.txt{lint} [${TRAVIS_PYTHON_VERSION}/tests]testresults.xml{tests} [${TRAVIS_PYTHON_VERSION}]coverage.xml;
else
testspace [${TRAVIS_PYTHON_VERSION}/tests]testresults.xml{tests};
fi