-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.travis.yml
30 lines (30 loc) · 971 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Configuration for Travis-CI to automatically run tests.
# Since the Redfish-Tools repository contains several independent tools,
# most of the directives are in separate scripts rather than here.
#
# The idea is that each tool that wants automated tests will include a
# .travis directory containing before_script, script, and
# after_script. Add a TEST_DIR to the "env" part of this file to hook in
# your tests. This file just specifies to move into the tool's directory,
# run the scripts, and move back out.
#
# There is an implicit assumption that all the tools/tests are in python.
# Conveniently, that is the case today. More ingenuity may be required to
# include tests for non-python tools.
#
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
install: true
env:
- TEST_DIR=doc-generator
before_script:
- pushd $TEST_DIR && source .travis/before_script
script:
- source .travis/script
after_script:
- source .travis/after_script && popd