forked from 17zuoye/luiti
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
45 lines (35 loc) · 796 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
35
36
37
38
39
40
41
42
43
44
45
language: python
env:
global:
- PIP_DOWNLOAD_CACHE=$HOME/.pip-cache
matrix:
- TOXENV=pep8
- TOXENV=docs
- TOXENV=py27-nonhdfs
- TOXENV=py33-nonhdfs
- TOXENV=py34-nonhdfs
- TOXENV=py27-cdh
- TOXENV=py33-cdh
- TOXENV=py34-cdh
sudo: false
cache:
- $HOME/.pip-cache
install:
- pip install coveralls
- pip install tox
before_script:
# allow ssh loopback
- ssh-keygen -t rsa -N '' -C '' -f ~/.ssh/id_rsa
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- ssh -o StrictHostKeyChecking=no localhost true
- ./install-dependencies.sh
script:
- nosetests
- coverage run --source=luiti setup.py test
after_failure:
- cat /home/travis/build/luiti/luiti/.tox/cdh/log/cdh-1.log
after_success:
- coveralls
branches:
only:
- master