forked from orenault/TestLink-API-Python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
22 lines (20 loc) · 755 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
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
install:
- pip install .
# command to run tests
# online tests uses TL connection, defined in
# TESTLINK_API_PYTHON_DEVKEY and TESTLINK_API_PYTHON_SERVER_URL
# see https://travis-ci.org/USER/TestLink-API-Python-client/settings/env_vars
# suggestion: use TL demo project with user pyTLapi, see tox.ini
script:
- py.test test/utest-offline
- if [[ $TESTLINK_API_PYTHON_SERVER_URL ]]; then py.test test/utest-online; fi
# see known problem: countTestCasesTS should handle the sufficient right errors #62
# - if [[ $TESTLINK_API_PYTHON_SERVER_URL && $TRAVIS_PYTHON_VERSION == '3.4' ]]; then python example/TestLinkExample.py; fi