-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.travis.yml
47 lines (36 loc) · 793 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
git:
depth: false
sudo: false
language: python
matrix:
fast_finish: true
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
before_install:
- pip install -U pip
- pip install -U wheel setuptools
- pip install flake8 codecov
install:
- pip install -e .
env: TEST_OPTS="--cov=keycloak --ignore=tests/keycloak/aio" FLAKE_OPTS="--exclude=src/keycloak/aio,tests/keycloak/aio"
script:
- flake8 src/keycloak tests/keycloak $FLAKE_OPTS
- python setup.py test --addopts "$TEST_OPTS"
after_success:
- codecov
.mixins:
- &aio-mixin
env: TEST_OPTS="--cov=keycloak" FLAKE_OPTS=""
install: pip install -e .[aio]
jobs:
include:
- python: "3.5"
<<: *aio-mixin
- python: "3.6"
<<: *aio-mixin
- python: "nightly"
<<: *aio-mixin