Skip to content

Update build pipeline #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
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
10 changes: 8 additions & 2 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,18 @@ axes:
DRIVER_VERSION: "1.8.1"
- id: "latest-stable"
display_name: "1.8-stable"
- id: "latest-minor-dev"
variables:
DRIVER_VERSION: "stable"
- id: "1.8-dev"
display_name: "1.8-dev"
variables:
DRIVER_BRANCH: "v1.8"
- id: "1.9-dev"
display_name: "1.9-dev"
variables:
DRIVER_BRANCH: "v1.9"
- id: "latest-dev"
display_name: "1.9-dev (master)"
display_name: "1.10-dev (master)"
variables:
DRIVER_BRANCH: "master"

Expand Down
95 changes: 5 additions & 90 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cache:

env:
global:
- DRIVER_VERSION=1.8.1
- DRIVER_VERSION=stable
- SERVER_DISTRO=enterprise-ubuntu1604
- SERVER_VERSION=4.4.0
- DEPLOYMENT=STANDALONE
Expand All @@ -48,105 +48,20 @@ jobs:
env:
- CHECKS=phpcs

# Test remaining supported PHP versions
- stage: Test
php: "7.0"
- stage: Test
php: "7.1"
- stage: Test
php: "7.2"
- stage: Test
php: "7.3"

# Test against lowest supported dependencies
- stage: Test
php: "7.0"
dist: trusty
env:
- SERVER_DISTRO=enterprise-ubuntu1404
- SERVER_VERSION=3.0.15
- DEPLOYMENT=STANDALONE_OLD
- COMPOSER_OPTIONS=--prefer-lowest

# Test older standalone server versions (3.0-4.0)
- stage: Test
php: "7.0"
dist: trusty
env:
- SERVER_DISTRO=enterprise-ubuntu1404
- SERVER_VERSION=3.0.15
- DEPLOYMENT=STANDALONE_OLD
- stage: Test
php: "7.0"
env:
- SERVER_VERSION=3.2.22
- DEPLOYMENT=STANDALONE_OLD
- stage: Test
php: "7.0"
env:
- SERVER_VERSION=3.4.24
- DEPLOYMENT=STANDALONE_OLD
- stage: Test
php: "7.0"
env:
- SERVER_VERSION=3.6.19
- stage: Test
env:
- SERVER_VERSION=4.0.19
- stage: Test
env:
- SERVER_VERSION=4.2.8

# Test upcoming server version
#- stage: Test
# env:
# - SERVER_VERSION=4.5.0

# Test other server configurations
- stage: Test
env:
- DEPLOYMENT=STANDALONE_AUTH
- stage: Test
env:
- DEPLOYMENT=STANDALONE_SSL
- stage: Test
env:
- SERVER_VERSION=3.6.13
- DEPLOYMENT=REPLICASET
- stage: Test
env:
- DEPLOYMENT=REPLICASET
- stage: Test
env:
- DEPLOYMENT=SHARDED_CLUSTER
- stage: Test
env:
- DEPLOYMENT=SHARDED_CLUSTER_RS

# Test next patch release for driver
- stage: Test
env:
- DRIVER_BRANCH="v1.8"

# Test next minor release for driver
- stage: Test
env:
- DRIVER_BRANCH="master"

# Test upcoming PHP version
# Test against PHP 8
- stage: Test
php: "nightly"
env:
- DRIVER_BRANCH="master"
- DRIVER_VERSION="1.9.0RC1"
- stage: Test
php: "nightly"
env:
- DRIVER_BRANCH="master"
- DRIVER_VERSION="1.9.0RC1"
- DEPLOYMENT=REPLICASET
- stage: Test
php: "nightly"
env:
- DRIVER_BRANCH="master"
- DRIVER_VERSION="1.9.0RC1"
- DEPLOYMENT=SHARDED_CLUSTER_RS

before_install:
Expand Down