-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
49 lines (46 loc) · 1.15 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
before_script:
# Print out python version for debugging
- python -V
# clone raven
- git clone https://github.com/idaholab/raven.git
- cd raven
# we technically still need moose for running the tests, currently
- git checkout master
- git clean -xfd
- if which conda 2> /dev/null; then
echo "Conda found!";
conda update conda;
else
echo "ERROR Conda not found!";
exit 404;
fi
# create libraries or create them
- ./scripts/establish_conda_env.sh --install --conda-defs $HOME/miniconda2/etc/profile.d/conda.sh
- ./build_raven
# Install plugin branch ...
- cd scripts
- python install_plugins.py -s `pwd`/../../
# return to project path main dir
- cd ../..
user_manual:
script:
- cd doc/user_manual/
- make
- cd ../../
artifacts:
paths:
- doc/user_manual/user_manual.pdf
sqa:
script:
- cd doc/sqa/
- ./make_docs.sh
- cd ../../
artifacts:
paths:
- doc/sqa/sqa_built_documents/
test:
script:
- echo PATH $PATH
- cd raven
- ./run_tests --library-report
- ./run_tests -j4 --plugins