Skip to content

Commit ce6d483

Browse files
committed
travis-ci: verify different msgpack library versions
Also bump msgpack PyPI package name in requirements.txt. See the note about the library name change in [1]: | Package name on PyPI was changed to msgpack from 0.5. [1]: https://github.com/msgpack/msgpack-python/blob/8fb709f2e0438862020d8810fa70a81fb5dac7d4/README.md Follows up #155
1 parent 98d2574 commit ce6d483

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

Diff for: .travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ cache: false
88
env:
99
matrix:
1010
- TARGET=test
11+
PYTHON_MSGPACK=python-msgpack-0.4.0
12+
- TARGET=test
13+
PYTHON_MSGPACK=msgpack-0.5.0
14+
- TARGET=test
15+
PYTHON_MSGPACK=msgpack-0.6.0
16+
- TARGET=test
17+
PYTHON_MSGPACK=msgpack-0.6.2
18+
- TARGET=test
19+
PYTHON_MSGPACK=msgpack-1.0.0
1120
- OS=el DIST=6
1221
- OS=el DIST=7
1322
- OS=fedora DIST=28

Diff for: requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msgpack-python>=0.4.0
1+
msgpack>=0.4.0

Diff for: test.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ echo "deb http://download.tarantool.org/tarantool/2x/ubuntu/ ${release} main" |
99
sudo apt-get update > /dev/null
1010
sudo apt-get -q -y install tarantool
1111

12+
# Install module requirements.
13+
#
14+
# Keep it in sync with requirements.txt.
15+
pip install "${PYTHON_MSGPACK:-python-msgpack-1.0.0}"
16+
1217
# Install testing dependencies.
13-
pip install -r requirements.txt
1418
pip install pyyaml
1519

1620
# Run tests.

0 commit comments

Comments
 (0)