Add rethinkdb to travis.yml

This commit is contained in:
Sylvain Bellemare 2016-02-10 20:16:50 +01:00 committed by Rodolphe Marques
parent 841cabe8c6
commit f8fd4ebaf7
4 changed files with 11 additions and 15 deletions

View File

@ -1,15 +1,14 @@
sudo: false sudo: required
language: python language: python
python: 3.5 python: 3.5
env: services:
- TOX_ENV=py34 - docker
- TOX_ENV=py35
install: before_install:
- pip install tox - pip install codecov
- docker-compose build
script: tox -e $TOX_ENV script: docker-compose run --rm bigchain py.test -v --cov=bigchaindb
after_success: after_success: codecov
- codecov

View File

@ -1,13 +1,12 @@
FROM python:3.5 FROM python:3.5
RUN apt-get update && apt-get -y install vim RUN apt-get update
RUN mkdir -p /usr/src/app RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN pip install --upgrade pip RUN pip install --upgrade pip
RUN pip install --no-cache-dir pytest pytest-cov RUN pip install --no-cache-dir pytest pytest-cov
RUN pip install --no-cache-dir ipython ipdb
COPY . /usr/src/app/ COPY . /usr/src/app/

View File

@ -1,8 +1,6 @@
# BigchainDB # BigchainDB
[![Codeship Status for
ascribe/bigchain](https://codeship.com/projects/2e292f40-6b4b-0133-3a9c-4e7d03b9bb62/status?branch=master)
](https://codeship.com/projects/115150) [![codecov.io](https://codecov.io/github/ascribe/bigchain/coverage.svg?token=GEwKioPPu9&branch=master)](https://codecov.io/github/ascribe/bigchain?branch=master)
[![Build Status](https://travis-ci.org/bigchaindb/bigchaindb.svg?branch=develop)](https://travis-ci.org/bigchaindb/bigchaindb)
## Documentation ## Documentation

View File

@ -1,6 +1,6 @@
[tox] [tox]
skipsdist = true skipsdist = true
envlist = py34, py35 envlist = py35
[testenv] [testenv]
commands = py.test -v --cov=bigchaindb commands = py.test -v --cov=bigchaindb