Skip to content

Commit b71d246

Browse files
committed
Test stages
1 parent b2630f7 commit b71d246

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ python:
77
- "3.6"
88
env:
99
global:
10-
MONGODB_VERSION=3.6
11-
MONGODB_VERSION=4.0
12-
MONGODB_VERSION=4.2
10+
MONGODB_PACKAGE=mongodb-org
11+
jobs:
12+
MOLECULE_DISTRO=centos7
1313
# - >
1414
# DISTRIBUTION=ubuntu
1515
# DIST_VERSION=18_04-builded
@@ -161,10 +161,15 @@ install:
161161
- python3 -m pip install --upgrade pip
162162
- pip install -r requirements.txt
163163

164-
script:
165-
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
166-
- molecule test
167-
- AUTH_STATE=enabled molecule test
164+
jobs:
165+
include:
166+
- stage: "MongoDB 3.6"
167+
env:
168+
- MONGODB_VERSION=3.6
169+
script:
170+
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
171+
- molecule test
172+
- AUTH_STATE=enabled molecule test
168173

169174
notifications:
170175
webhooks: https://galaxy.ansible.com/api/v1/notifications/

0 commit comments

Comments
 (0)