Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit fa62daf

Browse files
Rémi REYrrey
authored andcommitted
Add stages in travis-ci
1 parent 5dbb0c8 commit fa62daf

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.travis.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1+
stages:
2+
- test
3+
- test-doc
4+
15
language: python
26
sudo: required
37
python:
4-
- "2.7"
5-
install:
6-
- pip install -r requirements.txt
7-
script:
8-
- make check
8+
- "2.7"
99
services:
10-
- docker
10+
- docker
11+
install:
12+
- pip install -r requirements.txt
13+
14+
jobs:
15+
include:
16+
- stage: test
17+
script:
18+
- make check
19+
- stage: test-doc
20+
script:
21+
- ansible-doc -t module -M ./library grafana_annotations > /dev/null

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ansible==2.4
1+
ansible==2.6
22
pycodestyle==2.3.1

0 commit comments

Comments
 (0)