forked from okta/okta-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (29 loc) · 661 Bytes
/
.travis.yml
File metadata and controls
33 lines (29 loc) · 661 Bytes
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
31
32
33
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10-dev"
install:
- pip install -U importlib_metadata
- pip install -U -r requirements.txt
script:
- echo "Running tests in job stages..."
jobs:
include:
- stage: test
python: 3.8
name: "Unit Tests"
script:
- echo "Running unit tests..."
- pytest tests/unit/
name: "Integration Tests"
script:
- echo "Running integration tests..."
- pytest tests/integration/
- stage: code_style_test
name: "Flake8 Check"
script:
- echo "Code Style check..."
- "flake8 --extend-ignore=E501 okta/"