forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 651 Bytes
/
Copy path.travis.yml
File metadata and controls
37 lines (30 loc) · 651 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
36
37
---
sudo: false
cache:
- pip
before_cache:
- rm ~/.cache/pip/log/debug.log
language: python
python:
- "2.7"
- "3.5"
install:
- pip install --upgrade pip
- pip install tox-travis coveralls
script:
- tox
after_failure:
- echo "Here's a list of installed Python packages:"
- pip list --format=columns
- echo Dumping logs, because tests failed to succeed
- |
for log in `ls .tox/*/log/*.log`
do
echo Outputting $log
cat $log
done
- pip_debug_log=/home/travis/.cache/pip/log/debug.log
- echo Outputting pip debug log from $pip_debug_log
- cat $pip_debug_log
after_success:
- coveralls