forked from F5Networks/f5-icontrol-rest-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 793 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
23
24
25
26
27
28
29
30
31
32
33
34
sudo: false
language: python
python:
- "2.7"
- "2.6"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
before_install:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis F5 Openstack"
install:
- pip install requests hacking pytest pytest-cov
script:
- flake8 .
- py.test --cov --ignore=test/
- pip install -r requirements.test.txt
deploy:
provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
server: https://pypi.python.org/pypi
on:
all_branches: true
tags: true
python: 2.7
notifications:
slack:
rooms:
- f5openstackdev:$SLACK_PROJECT_TOKEN
- f5openstackdev:$SLACK_BUILD_STATUS_TOKEN
on_success: change
on_failure: always