forked from philhodge/stistools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
22 lines (17 loc) · 937 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
if (utils.scm_checkout()) return
data_config = new DataConfig()
data_config.server_id = "bytesalad"
data_config.root = 'tests_output'
data_config.match_prefix = '(.*)_result' // .json is appended automatically
bc0 = new BuildConfig()
bc0.nodetype = "linux"
bc0.name = "Install"
bc0.test_configs = [data_config]
bc0.build_cmds = ["conda env update --file=doc/environment.yml -q",
"with_env -n stistools python setup.py install",
"with_env -n stistools conda install -q -y -c http://ssb.stsci.edu/astroconda hstcal",
"with_env -n stistools conda install -q -y -c http://ssb.stsci.edu/astroconda crds"]
bc0.test_cmds = ["with_env -n stistools conda install -q -y pytest=4.2.1",
"with_env -n stistools conda install -q -y pytest-remotedata",
"with_env -n stistools pytest --basetemp=tests_output --junitxml=results.xml --bigdata"]
utils.run([bc0])