forked from vcstools/wstool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 948 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
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
# command to install dependencies
install:
# develop seems to be required by travis since 02/2013
- python setup.py build develop
- sudo gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16126D3A3E5C1192
- sudo gpg --export --armor 16126D3A3E5C1192 | sudo apt-key add -
- sudo apt-get clean
- sudo apt-get install -qq zsh
- sudo pip install vcstools nose-cov coverage pyyaml coveralls
# Set git config to silence some stuff in the tests
- git config --global user.email "[email protected]"
- git config --global user.name "Foo Bar"
# Set the hg user
- echo -e "[ui]\nusername = Your Name <[email protected]>" >> ~/.hgrc
# Set the bzr user
- bzr whoami "Your Name <[email protected]>"
# command to run tests
script:
- python -c 'import sys; print(sys.path)'
- nosetests --with-coverage --cover-package=wstool
notifications:
email: false
after_success:
- coveralls