forked from Nek5000/Nek5000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (52 loc) · 2.02 KB
/
.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
language: fortran
sudo: required
env:
matrix:
- TEST_CASE=Tools
- TEST_CASE=Eddy_EddyUv::test_PnPn_Serial MPI=0 FC=gfortran CC=gcc
- TEST_CASE=Axi::test_PnPn_Parallel
# - TEST_CASE=Axi::test_PnPn2_Parallel
- TEST_CASE=FsHydro::test_PnPn2_Parallel
- TEST_CASE=Eddy_EddyUv::test_PnPn_Parallel
- TEST_CASE=Eddy_LegacySize::test_PnPn2_Parallel
- TEST_CASE=Eddy_Rich::test_PnPn2_Parallel
- TEST_CASE=eddy_mv::test_PnPn_Parallel
- TEST_CASE=Ethier::test_PnPn_Parallel
- TEST_CASE=Ethier::test_PnPn2_Parallel
# - TEST_CASE=Ethier::test_PnPn2_Parallel PARALLEL_PROCS=3
- TEST_CASE=KovStokes::test_PnPn2_Parallel
- TEST_CASE=KovStokes::test_PnPn_Parallel
- TEST_CASE=LowMachTest::test_PnPn_Parallel
- TEST_CASE=ConjHt::test_PnPn_Parallel
- TEST_CASE=CmtInviscidVortex::test_PnPn_Parallel
- TEST_CASE=MvCylCvode::test_PnPn_Parallel
- TEST_CASE=Eddy_Neknek::test_PnPn_Parallel
- TEST_CASE=Eddy_Neknek::test_PnPn2_Parallel
# - TEST_CASE=Eddy_NeknekU::test_PnPn2_Parallel
- TEST_CASE=Eddy_Neknek_mv::test_PnPn_Parallel
- TEST_CASE=Eddy_Neknek_mv::test_PnPn2_Parallel
- TEST_CASE=IO_Test::test_PnPn2_Parallel
- TEST_CASE=InclDef::test_PnPn_Parallel MPI=0 FC=gfortran CC=gcc
- TEST_CASE=lpm_one::test_PnPn_Parallel
- TEST_CASE=lpm_two::test_PnPn_Parallel
- TEST_CASE=chan2d::test_PnPn_Parallel
before_install:
- export ROOT_DIR=`pwd`
- export NEK_SOURCE_ROOT=$ROOT_DIR
- export EXAMPLES_ROOT=$ROOT_DIR/short_tests
- export VERBOSE_TESTS=true
- export PARALLEL_PROCS=2
# Install MPICH
- sudo apt-get update -qq
- sudo apt-get install -y libmpich-dev mpich
- sudo apt-get purge cmake
# Set up Python virtualenv
- virtualenv -p python3 $ROOT_DIR/python-env
- source $ROOT_DIR/python-env/bin/activate
- export PYTHONPATH="$ROOT_DIR/short_tests:$PYTHONPATH"
install:
- pip install --upgrade pip
- pip install --upgrade cmake
- pip install pytest
script:
- py.test -s -v $ROOT_DIR/short_tests/NekTests.py::$TEST_CASE