forked from fabric/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 820 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
language: python
python:
- "2.5"
- "2.6"
- "2.7"
install:
# Build/test dependencies
- pip install -r requirements.txt --use-mirrors
# Get fab to test fab
- pip install -e .
# Install third-party multiprocessing on 2.5
- "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install multiprocessing; fi"
# Deal with issue on Travis builders re: multiprocessing.Queue :(
- "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm"
before_script:
# Allow us to SSH passwordless to localhost
- ssh-keygen -f ~/.ssh/id_rsa -N ""
- cp ~/.ssh/{id_rsa.pub,authorized_keys}
script:
# Normal tests
- fab test
# Integration tests
- fab -H localhost test:"--tests\=integration"
notifications:
irc:
channels: "irc.freenode.org#fabric"
on_success: change
on_failure: change
email: false