forked from vinci1it2000/schedula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·77 lines (68 loc) · 1.95 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
67
68
69
70
71
72
73
74
75
76
77
language: python
os:
- linux
python:
- "3.6"
- "3.7"
- "3.8"
env:
- EXTRAS=base
- EXTRAS=io
- EXTRAS=web
- EXTRAS=plot
- EXTRAS=sphinx
- EXTRAS=parallel
- EXTRAS=all
- EXTRAS=dev
addons:
apt:
packages:
- graphviz
matrix:
include:
- os: windows
language: sh
python: "3.6"
env:
- EXTRAS=all
- PATH="/c/tools/miniconda3/:/c/tools/miniconda3/Scripts:/c/tools/miniconda3/Library/bin:$PATH"
before_install:
- choco install miniconda3
- conda create --yes -n test python=3.6
- source activate test
- conda --version ; python --version ; pip --version
- choco install graphviz.portable
- os: windows
language: sh
python: "3.7"
env:
- EXTRAS=all
- PATH="/c/tools/miniconda3/:/c/tools/miniconda3/Scripts:/c/tools/miniconda3/Library/bin:$PATH"
before_install:
- choco install miniconda3
- conda create --yes -n test python=3.7
- source activate test
- conda --version ; python --version ; pip --version
- choco install graphviz.portable
- os: windows
language: sh
python: "3.8"
env:
- EXTRAS=all
- PATH="/c/tools/miniconda3/:/c/tools/miniconda3/Scripts:/c/tools/miniconda3/Library/bin:$PATH"
before_install:
- choco install miniconda3
- conda create --yes -n test python=3.8
- source activate test
- conda --version ; python --version ; pip --version
- choco install graphviz.portable
# command to install dependencies
install:
- pip install -r requirements/test.pip
- if [[ $EXTRAS == 'base' ]]; then pip install -e .; fi
- if [[ $EXTRAS != 'base' ]]; then pip install -e .[$EXTRAS]; fi
# command to run tests
script:
- coverage run --source=schedula setup.py nosetests
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' && $EXTRAS == 'all' && $TRAVIS_OS_NAME == 'linux' ]]; then coveralls; fi