forked from ovh/python-ovh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (35 loc) · 744 Bytes
/
.travis.yml
File metadata and controls
35 lines (35 loc) · 744 Bytes
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
30
31
32
33
34
35
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# - "3.7" -- this is done through the "matrix" parameter
- "nightly"
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
jobs:
allow_failures:
- python: "nightly"
install:
- pip install -U setuptools
- pip install -e .
- pip install -e .[dev]
script:
- nosetests
- python setup.py sdist bdist_wheel && pip install dist/ovh-*.tar.gz && cd /tmp && python -c 'import ovh; ovh.Client("ovh-eu").get("/auth/time", _need_auth=False)' && cd -
deploy:
provider: pypi
user: $pypiUser
password: $pypiPassword
distributions: "sdist bdist_wheel"
on:
branch: master
tags: true
python: '3.6'
after_success:
coveralls
sudo: false