forked from pencil-code/pencil-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (28 loc) · 1.06 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
os: linux
dist: focal
language: c
git:
depth: 3
quiet: true
submodules: false
cache:
directories:
- $HOME/build/pencil-code/pencil-code/samples/no-modules/src
- $HOME/build/pencil-code/pencil-code/samples/most-modules/src
- $HOME/build/pencil-code/pencil-code/samples/backwards-compatible/src
- $HOME/build/pencil-code/pencil-code/samples/1d-tests/implicit_diffusion/src
- $HOME/build/pencil-code/pencil-code/samples/2d-tests/chemistry_GrayScott/src
- $HOME/build/pencil-code/pencil-code/samples/2d-tests/shearwave-dust-par/src
- $HOME/build/pencil-code/pencil-code/samples/dust-vortex/src
- $HOME/build/pencil-code/pencil-code/samples/damped_alfven_waves/src
- $HOME/build/pencil-code/pencil-code/samples/corona/src
addons:
apt:
update: true
before_install:
- sudo apt-get install -y gfortran libhdf5-openmpi-dev git-restore-mtime
- gfortran --version
- cd $HOME/build/pencil-code/pencil-code/ && git restore-mtime src/
script:
- source sourceme.sh
- pc_auto-test --host-id travis-ci -t --max-level 1 --script-tests=python --auto-clean