forked from SatelliteQE/robottelo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 813 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
sudo: false
language: python
env:
- PYCURL_SSL_LIBRARY=gnutls
python:
- "3.6"
before_install:
- sudo apt-get install -y libgnutls-dev
install:
- pip install -U pip
- pip uninstall -y pycurl
- pip install --compile --no-cache-dir pycurl
- pip install -r requirements.txt codecov flake8 sphinx sphinx-autoapi tox-travis manage pre-commit
script:
- pre-commit clean
- pre-commit run --all-files
- make test-docstrings
- cp robottelo.properties.sample robottelo.properties
- make docs
- tox
# The `test-foreman-*` recipes require the presence of a Foreman
# deployment, and they are lengthy. Don't run them on Travis.
after_success:
- codecov
after_failure:
- git diff # for pre-commit changes
notifications:
irc: "chat.freenode.net#robottelo"