-
Notifications
You must be signed in to change notification settings - Fork 12
/
wercker.yml
75 lines (60 loc) · 1.67 KB
/
wercker.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
# Wercker configuration file
box: python:3
no-response-timeout: 60
command-timeout: 60
build:
steps:
- script:
name: setup
code: |
uname -a
echo "python3 version $(python3 --version) running"
echo "pip3 version $(pip3 --version) running"
test-light:
steps:
- pip-install
- script:
name: install
code: |
python -m pip install --upgrade -r requirements.txt
python setup.py install
- script:
name: Run unit tests
code: |
python -m pytest tests -v -m "(light) and (not slow) and (not veryslow) and (not closedform)"
test-slow:
steps:
- pip-install
- script:
name: install
code: |
python -m pip install --upgrade -r requirements.txt
python setup.py install
- script:
name: Run slow unit tests
code: |
python -m pytest tests -v -m "(not light) and (slow) and (not veryslow) and (not closedform)"
test-veryslow:
steps:
- pip-install
- script:
name: install
code: |
python -m pip install --upgrade -r requirements.txt
python setup.py install
- script:
name: Run very slow unit tests
code: |
python -m pytest tests -v -m "(not light) and (not slow) and (veryslow) and (not closedform)"
test-closedform:
steps:
- pip-install
- script:
name: install
code: |
python -m pip install --upgrade -r requirements.txt
python setup.py install
- script:
name: Run closed form solutions unit tests
code: |
python -m pytest tests -v -m "(not light) and (not slow) and (not veryslow) and (closedform)"