-
Notifications
You must be signed in to change notification settings - Fork 23
/
.gitlab-ci.yml
70 lines (57 loc) · 1.29 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
61
62
63
64
65
66
67
68
69
70
.conda_installer:
image: continuumio/miniconda3
variables:
JDK_VERSION: "8"
PY_VERSION: "3.6"
JPYPE_VERSION: "0.7"
EXTRA_DEPS: ""
before_script:
- conda create -n test_env openjdk=${JDK_VERSION} python=${PY_VERSION} Jpype1=${JPYPE_VERSION} ${EXTRA_DEPS} --yes --quiet -c conda-forge
- source activate test_env
.install:
script:
- pip install .[test]
- mkdir not-the-source && cd not-the-source
- pytest --pyargs pytimber
.dev_install:
script:
- pip install -e .[test]
- pip install pytest-cov
- pytest ./pytimber --cov=pytimber --junitxml=report.xml
install_py36_jdk8_jp0p6:
variables:
JDK_VERSION: "8"
PY_VERSION: "3.6"
JPYPE_VERSION: "0.6"
extends:
- .conda_installer
- .install
install_py36_jdk8_jp0p7:
variables:
JDK_VERSION: "8"
PY_VERSION: "3.6"
JPYPE_VERSION: "0.7"
extends:
- .conda_installer
- .install
install_py36_jdk11:
extends:
- .conda_installer
- .install
variables:
JDK_VERSION: "11"
install_py27_jdk8:
extends:
- .conda_installer
- .install
variables:
PY_VERSION: "2.7"
EXTRA_DEPS: "subprocess32"
dev_py36_jdk8:
variables:
JDK_VERSION: "8"
PY_VERSION: "3.6"
JPYPE_VERSION: "0.7"
extends:
- .conda_installer
- .dev_install