AskOmics continuous integration is composed of code linting and unit tests on the Python API. CI is launched automaticaly on the askomics repository on every pull requests. No PR will be merged if the CI fail.

Setup CI environment

AskOmics CI need a clean environment. To get it, use ci/docker-compose.yml of flaskomics-docker-compose. This file will deploy all dependencies on ports specified in config/askomics.test.ini.

git clone https://github.com/askomics/flaskomics-docker-compose
cd flaskomics-docker-compose/ci
docker-compose up -d

Run CI locally

First, install askomics in dev mode.

Use test.sh to launch the CI. The script will launch the same commands as Travis-CI.