Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Specify custom mongodb version in travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Vektrat authored Apr 23, 2020
1 parent 3338f6e commit 9b3197b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.2 multiverse'
key_url: 'https://www.mongodb.org/static/pgp/server-4.2.asc'
packages:
- libzmq3-dev

services: mongodb
- mongodb-org
- mongodb-org-mongos
- mongodb-org-server
- mongodb-org-shell
- mongodb-org-tools

env:
matrix:
Expand All @@ -20,6 +25,8 @@ env:

cache: yarn

before_script: sh yarn_setup.sh
before_script:
- sudo systemctl start mongod
- sh yarn_setup.sh

script: cd ${SUBPROJECT} && yarn run lint && yarn run test:travis
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Catapult REST gateway combines HTTP and WebSockets to perform read and write act
- NodeJS version 12
- [yarn][yarn] dependency manager
- [catapult-server][catapult-server] configured as an [API node][api-node].
- MongoDb 4.2

## Installation

Expand Down

0 comments on commit 9b3197b

Please sign in to comment.