This article is about Codeship Basic.


Estimated Reading Time: 1 min

MongoDB 2.6.4 runs on the default port and doesn’t require any credentials.

If you need to test against another version of MongoDB, see the MongoDB script on the codeship/scripts GitHub repository.

Simply set the MONGODB_VERSION environment variable and include the script via the following command in your setup steps.

\curl -sSL | bash -s

This will start a MongoDB server on port 27018. (You can change the port via the MONGODB_PORT environment variable, if you want to.)