Skip to content

Commit

Permalink
Fix Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
lericson committed Aug 15, 2019
1 parent 6122d0b commit 1aa3970
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ python:
env:
# Would be great to test 0.53 but there's no Ubuntu Trusty PPA that has it.
#- LIBMEMCACHED_VERSION='0.53'
# We upgraded to Xenial so there's no 1.0.8.
#- LIBMEMCACHED_VERSION='1.0.8'
- LIBMEMCACHED_VERSION='1.0.18'

notifications:
Expand All @@ -25,13 +27,15 @@ notifications:
on_failure: change

before_install:
# Default Travis CI libmemcached is 1.0.18 (Ubuntu Xenial). Need PPAs for
# other versions.
#- sh -c "if [ $LIBMEMCACHED_VERSION = '0.53' ] ; then sudo add-apt-repository ppa:???/libmemcached -y; fi"
# Ubuntu Xenial's libmemcached is 1.0.18 (Ubuntu Xenial). Need PPAs for other
# versions. Why bother when libmemcached is dead.
#- sh -c "if [ $LIBMEMCACHED_VERSION = '0.53' ] ; then sudo add-apt-repository ??? -y; fi"
#- sh -c "if [ $LIBMEMCACHED_VERSION = '1.0.8' ] ; then sudo add-apt-repository ??? -y; fi"
- sudo apt-get update -qq
- sudo apt-get install memcached
- sudo service memcached start
- sudo apt-get install libmemcached-dev
- apt-cache show libmemcached-dev
- echo "stats settings" | nc localhost 11211

install: python setup.py install
Expand Down

0 comments on commit 1aa3970

Please sign in to comment.