forked from inducer/relate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
60 lines (55 loc) · 1.28 KB
/
.gitlab-ci.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
Python 3:
script:
- "PY_EXE=python3 bash ./run-tests-for-ci.sh"
tags:
- python3
- linux
except:
- tags
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
variables:
CODECOV_TOKEN: "895e3bf2-cfd0-45f8-9a14-4b7bd148f76d"
Python 3 Expensive:
script:
- "PY_EXE=python3 RL_CI_TEST=test_expensive bash ./run-tests-for-ci.sh"
tags:
- python3
- linux
except:
- tags
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
variables:
CODECOV_TOKEN: "895e3bf2-cfd0-45f8-9a14-4b7bd148f76d"
Python 3 CLI Tool:
script:
- "PY_EXE=python3 bash ./test-command-line-tool.sh python3"
tags:
- python3
- linux
except:
- tags
Documentation:
script:
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh
- export RELATE_LOCAL_TEST_SETTINGS=`pwd`/local_settings_example.py
- ". ./build-docs.sh"
tags:
- python3
only:
- master
Mypy:
script:
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-mypy.sh
- ". ./prepare-and-run-mypy.sh python3 mypy==0.641"
tags:
- python3
except:
- tags
Flake8:
script:
- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh
- ". ./prepare-and-run-flake8.sh relate course accounts tests bin"
tags:
- python3
except:
- tags