summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Brookins <andrew.brookins@redislabs.com>2020-07-16 00:46:19 +0000
committerAndrew Brookins <andrew.brookins@redislabs.com>2020-07-16 00:46:19 +0000
commit5ab3a8d158db34e3267e9b102b3b98949355b320 (patch)
tree8aea9df6d56ca3f6b1dd6ec745e9fe1d6541acde
parent4cf1d83460eb25cc4dfdee090b212ff42456cd1c (diff)
downloadredis-py-5ab3a8d158db34e3267e9b102b3b98949355b320.tar.gz
Try running codecov in the test container
-rw-r--r--.travis.yml8
-rw-r--r--Dockerfile5
2 files changed, 5 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index d31fea0..8e90fab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,3 @@
-language: python
-cache: pip
-
env:
- DOCKER_COMPOSE_VERSION=1.26.2
@@ -13,11 +10,8 @@ before_install:
services:
- docker
-install:
- - pip install codecov
-
script:
- make test
after_success:
- - codecov
+ - docker-compose run test codecov
diff --git a/Dockerfile b/Dockerfile
index cd530ef..185a477 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,7 @@
FROM fkrull/multi-python:latest
-RUN apt install -y pypy pypy-dev pypy3-dev
+RUN apt update && apt install -y pypy pypy-dev pypy3-dev curl
+RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3.8 get-pip.py
+RUN pip install codecov
+
COPY . /redis-py