-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
87 lines (73 loc) · 4.37 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
77
78
79
80
81
82
83
84
85
86
87
dist: xenial
language: bash
notifications:
email:
on_success: change
on_failure: always
sudo: required
addons:
artifacts:
s3_region: us-east-2
paths:
- "tests/t/fail.log"
before_install:
- cd bin; source setup; cd -
- source tests/travis_fn
# Install MPICH
- sudo apt-get update -qq
- sudo apt-get install -y libmpich-dev mpich
# Install Julia
- wget -nv https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.3-linux-x86_64.tar.gz
- tar xvzf julia-1.0.3-linux-x86_64.tar.gz
- sudo ln -v -s $MOR_DIR/julia-1.0.3/bin/julia /usr/bin/julia
- $MOR_DIR/tests/julia-init
# Setup Nek5000
- git clone --single-branch -b presolve-fix https://github.com/kent0/Nek5000
- export SOURCE_ROOT=$MOR_DIR/Nek5000
- (cd Nek5000/tools; ./maketools genmap)
# Test Julia
- julia-1.0.3/bin/julia --version
- /usr/bin/julia --version
- /usr/bin/env julia --version
- virtualenv --python=python venv
- source venv/bin/activate
- python -m pip install -U pip
- pip install -U wheel
- pip install numpy
- pip install pytest
# - python setup.py build
# - python -m pytest
before_script:
- export FC=mpif77
- export CC=mpicc
- export FFLAGS="-w -mcmodel=medium -fprofile-arcs -ftest-coverage"
- export USR_LFLAGS+="-mcmodel=medium"
script: $MOR_DIR/tests/test.sh
jobs:
include:
- stage: unit
env: TYPE=UNIT TEST=GRAMIAN IPS=L2
- env: TYPE=UNIT TEST=IC IPS=L2
- env: TYPE=UNIT TEST=A0 IPS=L2
- env: TYPE=UNIT TEST=B0 IPS=L2
- env: TYPE=UNIT TEST=C0 IPS=L2
- env: TYPE=UNIT TEST=GRAMIAN IPS=H10
- env: TYPE=UNIT TEST=IC IPS=H10
- env: TYPE=UNIT TEST=A0 IPS=H10
- env: TYPE=UNIT TEST=B0 IPS=H10
- env: TYPE=UNIT TEST=C0 IPS=H10
- env: TYPE=UNIT TEST=CP IPS=H10
- stage: integration
env: TYPE=INTEG TEST=CYL IPS=L2 NP=1 NB=20 LB=20 SCR=tdragx
- env: TYPE=INTEG TEST=CYL IPS=L2 NP=2 NB=20 LB=20 SCR=tdragx
- env: TYPE=INTEG TEST=CYL IPS=L2 NP=1 NB=20 LB=50 SCR=tdragx
- env: TYPE=INTEG TEST=CYL IPS=L2 NP=1 NB=10 LB=10 SCR=tbox
- env: TYPE=INTEG TEST=CYL IPS=L2 NP=1 NB=20 LB=20 SCR=tcopt
after_success:
- bash <(curl -s https://codecov.io/bash)
env:
global:
- ARTIFACTS_BUCKET=travis-kent0
- secure: bnXmYvIM+avMEjfHSwJ+VyXppvUSov2cMwagXJgU8xRgTkWhDD1H1lzN+PYqDr66859vzdc+kxxDK17yVfEOqUEiZAeEdWhe+fvXznijPPI8C7Gyycra81XWpxFhGaweOF0q+cUQbjZJhcd4O+aHTVtAVi3QWA1rQsucHrLzjixpW28eooPAQ0x01BZkSmfq6eaJ+2mpby3j6gfHbrz7nmmEa+SaDtuZ9kFZPvrABAJ/W5EetrTUMP2a+X/y4IwrAZhbma+z+uSmsNMf8mgydyar9Nnt9pxjcpOtsMrhBv5nY0ngDGAR0mzJn2ZD/mzwC5xI0PApYhgyIXTdPsGAPhyDjEbzhQqv8UmcuqzFTrtalYekTTAM+6orr3bOaLo/7Uv83+CdiXAh87sRRyMQ9nwNmHAQRWNdXHRLbamoQIBmQcOxZa2Uwspq8RbIlzeshYlSA4P0EK5rgkgAVVw/NohoFOh3f7pNdxhM3iUPGB6s6d885ktOpWWoaMngZjL2wl5KQ9JWjv9I/v4gEI0KcDsQwsasxDBnsBhaFq1Caur4Rd04qXPRMzlG4JH0dYsSvqjJNa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