#34 from i337562/travis
1.1 Merge pull requestSetup for travis, with automatic versioning
AMD64
Python: 3.6
Git
.travis.yml
dist: trusty
language: python
python:
- "3.6"
# command to install dependencies
install:
- pip install .
- pip install -r requirements.txt
- pip install pylint
# command to run tests
script:
- pylint pyodata
- py.test
deploy:
provider: pypi
user: test
password: test
server: http://pypi.brq.only.sap
on:
branch: master
notifications:
email:
recipients:
- jakub.filak@sap.com
- michal.nezerka@sap.com
on_success: always
on_failure: always
Build Config
{
"dist": "trusty",
"deploy": {
"true": {
"branch": "master"
},
"user": "test",
"server": "http://pypi.brq.only.sap",
"password": "test",
"provider": "pypi"
},
"python": [
"3.6"
],
"script": [
"pylint pyodata",
"py.test"
],
"install": [
"pip install .",
"pip install -r requirements.txt",
"pip install pylint"
],
"language": "python",
"notifications": {
"email": {
"recipients": [
"jakub.filak@sap.com",
"michal.nezerka@sap.com"
]
},
"on_failure": "always",
"on_success": "always"
}
}