-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (47 loc) · 900 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
48
49
50
51
52
53
54
sudo: false
dist: xenial
language: python
notifications:
email: false
python:
- 3.7
- 3.6
- 3.8
stages:
- lint
- moban
- test
.lint: &lint
git:
submodules: false
python: 3.6
env:
- MINREQ=0
stage: lint
script: make install_test lint format git-diff-check
.moban: &moban
python: 3.6
env:
- MINREQ=0
stage: moban
install: pip install moban>=0.0.4 gitfs2 pypifs
script:
- moban
- git diff --exit-code
jobs:
include:
- *moban
- *lint
stage: test
before_install:
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
mv min_requirements.txt requirements.txt ;
fi
- test ! -f rnd_requirements.txt ||
pip install --no-deps -r rnd_requirements.txt
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
- pip install -r tests/requirements.txt
script:
- make test
after_success:
codecov