forked from lericson/pylibmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 1.04 KB
/
.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
language: python
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
env:
- LIBMEMCACHED_VERSION='0.44'
- LIBMEMCACHED_VERSION='0.53'
- LIBMEMCACHED_VERSION='1.0.8'
notifications:
irc:
channels:
- "chat.freenode.net#sendapatch"
on_success: change
on_failure: change
before_install:
# Default travis-ci libmemcached is 0.44 (ubuntu precise). If we need a
# higher version, add in the appropriate ppa. The newer package will upgrade
# the desired revision when we do a `apt-get install libmemcached-dev`.
- sh -c "if [ $LIBMEMCACHED_VERSION = '1.0.8' ] ; then sudo add-apt-repository ppa:plewis-m/ppa-libmemcached -y; fi"
- sh -c "if [ $LIBMEMCACHED_VERSION = '0.53' ] ; then sudo add-apt-repository ppa:plewis-m/libmemcached0.5x -y; fi"
- sudo apt-get update -qq
- sudo apt-get install memcached
- sudo service memcached start
- sudo apt-get install libmemcached-dev
- echo "stats settings" | nc localhost 11211
install: python setup.py install
before_script:
- pip install nose
script: python bin/runtests.py