Skip to content

Commit ffa0b27

Browse files
author
rhilfers
committed
travis-ci build updates
1 parent dd3ec9f commit ffa0b27

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
dist: trusty
21
language: python
32
python: 3.8
43
os: linux
54

65
services:
76
- docker
87

8+
env:
9+
- DOCKER_COMPOSE_VERSION=1.24.1
10+
11+
before_install:
12+
- sudo rm /usr/local/bin/docker-compose
13+
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
14+
- chmod +x docker-compose
15+
- sudo mv docker-compose /usr/local/bin
16+
917
install: make bootstrap
1018

1119
script: make lint test integration_tests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ integration_tests:
2929
--network=sandbox_default \
3030
-v $(PWD):/ws \
3131
-w /ws \
32-
python:3.6 \
32+
python:3.8 \
3333
/bin/sh -c 'python setup.py install && pip install kafka-python && python tests/integration/integration.py'
3434
docker-compose -f tests/integration/docker-compose.yml -p sandbox stop
3535

haystack/agent_recorder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def process_response(future):
2929
else:
3030
logger.debug("Successfully submitted span to haystack-agent")
3131
except grpc.RpcError:
32-
logger.exception(f"Dispatch failed due to RPC error")
32+
logger.exception("Dispatch failed due to RPC error")
3333

3434
def record_span(self, span):
3535
future = self._stub.dispatch.future(span_to_proto(span))

0 commit comments

Comments
 (0)