forked from pryorda/vmware_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 3.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
30
31
32
33
34
35
36
37
38
39
40
language: python
python:
- 3.6
cache: pip
jobs:
include:
- language: python
python:
- '3.6'
cache: pip
sudo: required
script:
- pip install -e . -r requirements.txt -r requirements-tests.txt
- grep -Rl packagecloud /etc/apt/ |sudo xargs rm -vf
- sudo apt-get update && sudo apt-get install -y nodejs npm && npm install -g dockerfilelint
- dockerfilelint ./Dockerfile
- flake8 vmware_exporter tests
- pytest --cov=. tests/unit
after_success:
- codecov
- language: python
python: '3.6'
cache: pip
sudo: required
services:
- docker
script:
- pip install -e . -r requirements.txt -r requirements-tests.txt
- pytest tests/integration
after_success:
- git config --global user.name "semantic-release (via TravisCI)"
- git config --global user.email "semantic-release@travis"
- pip install python-semantic-release
- semantic-release publish
- semantic-release changelog --post
env:
global:
- secure: qC8DzqyxBiBBBUGLuNOO2O6XgmUaLhTi1ArfhYxVDjv5vTJvCNO1DpXfFqXJGR3wrRKe1DOddXildOEL7d7xX6Y3b+k3urnPfqnAM/Hvr0djqDWRPuZl89Fg1mrAvBV3LL/ZsrWKHDc3keD/vTcPAsrnJl3MdS5fMKBwEuDmhpnNdGk0Wty357WxWBaz1JYBoGaqbw0JWAAA5UdfyF3aOybRONXcVqnxqSeR43drBLSdAwBJVVhyv3IYX3HRMCP8vXz43LqWK16z8KVPyrwwzE2WXlq+2FypLtM4A/XOssx4M77MefIMC6ydAimLh33gYtaiuO7+fYipLlOlChNO/pxX43FM+7UuKWaL9MWaUvypmOGo+jp/y6PzbIDz/RH4T8mjaswIe22nyTR/Gbtph/58CISGGEtRNKXjE4/OD1gjodcNS2NkwNQimxjHv30rH4X4Z+JYU+I3iobpmWJ5WJsyMnS3jWkRluRgA+8djuRviK4sdIBwk2qC2AGuZ1c6EJbEN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