-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (62 loc) · 1.63 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Config file for automatic testing at travis-ci.com
# safelist
branches:
only:
- master
- dev
matrix:
include:
- name: "Python 3.6.5 on macOS 10.13.6 (xcode 9.4)"
os: osx
osx_image: xcode9.4
language: shell
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install -r requirements.txt
install: pip3 install -e .
script:
- pytest --cov=./
- flake8 mtoolnote
- name: "Python 3.7.5 on macOS 10.14.4 (xcode 10.2)"
os: osx
osx_image: xcode10.2
language: shell
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install -r requirements.txt
install: pip3 install -e .
script:
- pytest --cov=./
- flake8 mtoolnote
- name: "Python 3.6.7 on Ubuntu 16.04"
os: linux
language: python
python: 3.6
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install -r requirements.txt
install: pip3 install -e .
script:
- pytest --cov=./
- flake8 mtoolnote
- name: "Python 3.7.1 on Ubuntu 16.04"
os: linux
language: python
python: 3.7
before_install:
- python3 --version
- pip3 install -U pip
- pip3 install -r requirements.txt
install: pip3 install -e .
script:
- pytest --cov=./
- flake8 mtoolnote
after_success:
- codecov
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
#install: pip install -U tox-travis
# Command to run tests, e.g. python setup.py test
#script: tox