Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
os: linux
dist: xenial
dist: bionic
language: python

branches:
Expand Down Expand Up @@ -36,30 +36,26 @@ jobs:
# If you rename or reorder make targets in TASK, you may need to adjust:
# scripts/travis/install-requirements.sh
# scripts/travis/run-nightly-make-task-if-exists.sh
- env: TASK=ci-unit CACHE_NAME=py2 COMMAND_THRESHOLD=700
- env: TASK=ci-unit CACHE_NAME=py2 COMMAND_THRESHOLD=870
python: 2.7
name: "Unit Tests (Python 2.7 MongoDB 3.4)"
- env: TASK=ci-integration CACHE_NAME=py2 COMMAND_THRESHOLD=700
# bionic comes with MongoDB 4.0 and 3.4 is not available on bionic
name: "Unit Tests (Python 2.7 MongoDB 4.0)"
- env: TASK=ci-integration CACHE_NAME=py2 COMMAND_THRESHOLD=960
python: 2.7
name: "Integration Tests (Python 2.7)"
- env: TASK="ci-checks ci-packs-tests" CACHE_NAME=py2 COMMAND_THRESHOLD=430
- env: TASK="ci-checks ci-packs-tests" CACHE_NAME=py2 COMMAND_THRESHOLD=550
python: 2.7
name: "Lint Checks, Packs Tests (Python 2.7)"
- env: TASK="compilepy3 ci-py3-unit ci-py3-packs-tests" CACHE_NAME=py3 PYTHON_VERSION=python3.6 COMMAND_THRESHOLD=750
- env: TASK="compilepy3 ci-py3-unit ci-py3-packs-tests" CACHE_NAME=py3 PYTHON_VERSION=python3.6 COMMAND_THRESHOLD=1160
python: 3.6
name: "Unit Tests, Pack Tests (Python 3.6)"
- env: TASK="ci-py3-integration" CACHE_NAME=py3 PYTHON_VERSION=python3.6 COMMAND_THRESHOLD=770
- env: TASK="ci-py3-integration" CACHE_NAME=py3 PYTHON_VERSION=python3.6 COMMAND_THRESHOLD=1090
python: 3.6
name: "Integration Tests (Python 3.6)"

addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse'
key_url: 'https://www.mongodb.org/static/pgp/server-3.4.asc'
packages:
- mongodb-org-server=3.4.*
- mongodb-org-shell=3.4.*
- rabbitmq-server
- libffi-dev

Expand Down