Install rethinkdb on travis via apt-get
Although the docker setup worked, codecov could not find the report
This commit is contained in:
parent
5125e153cd
commit
e8917b6cdf
22
.travis.yml
22
.travis.yml
|
@ -1,14 +1,22 @@
|
||||||
sudo: required
|
sudo: required
|
||||||
language: python
|
language: python
|
||||||
python: 3.5
|
python:
|
||||||
|
- 3.4
|
||||||
services:
|
- 3.5
|
||||||
- docker
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- pip install codecov
|
- source /etc/lsb-release
|
||||||
- docker-compose build
|
- echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee -a /etc/apt/sources.list.d/rethinkdb.list
|
||||||
|
- wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
|
||||||
|
- sudo apt-get update -qq
|
||||||
|
|
||||||
script: docker-compose run --rm bigchaindb py.test -v --cov=bigchaindb
|
install:
|
||||||
|
- sudo apt-get install rethinkdb
|
||||||
|
- pip install -e .[test]
|
||||||
|
- pip install codecov
|
||||||
|
|
||||||
|
before_script: rethinkdb --daemon
|
||||||
|
|
||||||
|
script: py.test -v --cov=bigchaindb
|
||||||
|
|
||||||
after_success: codecov
|
after_success: codecov
|
||||||
|
|
Loading…
Reference in New Issue