-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
43 lines (39 loc) · 831 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
branches:
only:
- master
matrix:
include:
- os: linux
dist: bionic
language: python
python: "3.6"
- os: linux
dist: bionic
language: python
python: "3.7"
- os: linux
dist: xenial
language: python
python: "3.6"
- os: linux
dist: xenial
language: python
python: "3.7"
- os: osx
osx_image: xcode11.2
language: shell
install:
- pip3 install virtualenv # this line have to be performed in Travis OSX, but it's not required for linux
- virtualenv devenv
- source devenv/bin/activate
- pip3 install -r requirements.txt
- pre-commit install
script:
- pre-commit run --all-files
- pytest .
notifications:
email:
recipients:
on_success: change
on_failure: change