From f6f298f3d2169e489a60167e32a26970ee9d4d5d Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 18:40:16 -0700 Subject: Update .travis.yml to support new test suite --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index f7d0ed4..26e1c33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,13 @@ language: python python: + - 2.6 - 2.7 + - pypy before_install: - git submodule update --init --recursive - - cd kafka-src - - ./sbt clean update package assembly-package-dependency - - cd - + - ./build_integration.sh install: - pip install . @@ -16,5 +16,6 @@ install: - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: - - python -m test.test_unit - - python -m test.test_integration + - tox + - KAFKA_VERSION=0.8.0 tox + - KAFKA_VERSION=0.8.1 tox -- cgit v1.2.1 From 169c196bd70300d3c3c8937418833322d94cbfb5 Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 18:51:02 -0700 Subject: Update travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 26e1c33..7b639d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ before_install: - ./build_integration.sh install: + - pip install tox - pip install . # Deal with issue on Travis builders re: multiprocessing.Queue :( # See https://github.com/travis-ci/travis-cookbooks/issues/155 -- cgit v1.2.1 From 71082005c31520234247cc4ee1c0129560c09155 Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 19:14:49 -0700 Subject: Attempt to install libsnappy in the travis environment --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 7b639d3..021fbb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ python: before_install: - git submodule update --init --recursive + - sudo apt-get install libsnappy-dev + - sudo apt-get install libsnappy-java - ./build_integration.sh install: -- cgit v1.2.1 From 87675cc9b30fd8fa5c608e8c934bbd413b819bdf Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 19:32:59 -0700 Subject: Remove libsnappy-java --- .travis.yml | 1 - 1 file changed, 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 021fbb0..950d584 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ python: before_install: - git submodule update --init --recursive - sudo apt-get install libsnappy-dev - - sudo apt-get install libsnappy-java - ./build_integration.sh install: -- cgit v1.2.1 From 06ab5d196aa1753b61a43a50b01f504b8850fbe6 Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 20:07:14 -0700 Subject: Update travis.yml based on http://alexgaynor.net/2014/jan/06/why-travis-ci-is-great-for-the-python-community/ --- .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 950d584..48371d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,6 @@ language: python -python: - - 2.6 - - 2.7 - - pypy +python: 2.7 before_install: - git submodule update --init --recursive @@ -17,7 +14,12 @@ install: # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm +env: + - TOX_ENV=py26 + - TOX_ENV=py27 + - TOX_ENV=pypy + script: - - tox - - KAFKA_VERSION=0.8.0 tox - - KAFKA_VERSION=0.8.1 tox + - tox -e $TOX_ENV + - KAFKA_VERSION=0.8.0 tox -e $TOX_ENV + - KAFKA_VERSION=0.8.1 tox -e $TOX_ENV -- cgit v1.2.1 From 26ae50254baa7b70c0c92af66e8028fff781f2be Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 20:34:14 -0700 Subject: Temporarily remove pypy support --- .travis.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 48371d2..e14bb77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ language: python -python: 2.7 +python: + - 2.6 + - 2.7 before_install: - git submodule update --init --recursive @@ -14,12 +16,7 @@ install: # See https://github.com/travis-ci/travis-cookbooks/issues/155 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm -env: - - TOX_ENV=py26 - - TOX_ENV=py27 - - TOX_ENV=pypy - script: - - tox -e $TOX_ENV - - KAFKA_VERSION=0.8.0 tox -e $TOX_ENV - - KAFKA_VERSION=0.8.1 tox -e $TOX_ENV + - tox + - KAFKA_VERSION=0.8.0 tox + - KAFKA_VERSION=0.8.1 tox -- cgit v1.2.1 From 83d95710e536880b278bf5429fa2f89f753d05d1 Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Wed, 30 Apr 2014 22:02:05 -0700 Subject: Temporarily remove Python26 support from travis.yml --- .travis.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index e14bb77..4ec5802 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python python: - - 2.6 - 2.7 before_install: @@ -10,13 +9,13 @@ before_install: - ./build_integration.sh install: - - pip install tox - - pip install . - # Deal with issue on Travis builders re: multiprocessing.Queue :( - # See https://github.com/travis-ci/travis-cookbooks/issues/155 - - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm + - pip install tox + - pip install . + # Deal with issue on Travis builders re: multiprocessing.Queue :( + # See https://github.com/travis-ci/travis-cookbooks/issues/155 + - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: - - tox - - KAFKA_VERSION=0.8.0 tox - - KAFKA_VERSION=0.8.1 tox + - tox -e py27 + - KAFKA_VERSION=0.8.0 tox -e py27 + - KAFKA_VERSION=0.8.1 tox -e py27 -- cgit v1.2.1 From b120ca5d72fe401d9f73b647616a16742600ace2 Mon Sep 17 00:00:00 2001 From: Mark Roberts Date: Thu, 1 May 2014 10:27:30 -0700 Subject: Attempt to reenable py26 and pypy builds --- .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4ec5802..bd5f63a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,14 @@ language: python python: - - 2.7 + - 2.6 + - 2.7 + - pypy before_install: - - git submodule update --init --recursive - - sudo apt-get install libsnappy-dev - - ./build_integration.sh + - git submodule update --init --recursive + - sudo apt-get install libsnappy-dev + - ./build_integration.sh install: - pip install tox @@ -16,6 +18,6 @@ install: - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm script: - - tox -e py27 - - KAFKA_VERSION=0.8.0 tox -e py27 - - KAFKA_VERSION=0.8.1 tox -e py27 + - tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` + - KAFKA_VERSION=0.8.0 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` + - KAFKA_VERSION=0.8.1 tox -e `./travis_selector.sh $TRAVIS_PYTHON_VERSION` -- cgit v1.2.1