This repository has been archived by the owner on Apr 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
33 lines (31 loc) · 2 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
# Travis file for running some basic set of testreport checks on each commit
services:
- docker
before_install:
- docker pull mitgcm/testreport-images:fc11-base-20170715
- docker run -v `pwd`:/MITgcm --name fc11-testreport -t -d mitgcm/testreport-images:fc11-base-20170715 /bin/bash
- docker exec -i fc11-testreport rpm -vv --rebuilddb
- docker exec -i fc11-testreport df -h
- docker exec -i fc11-testreport ls -altr /MITgcm
- docker exec -i fc11-testreport yum install python-pip
- docker exec -i fc11-testreport yum install gcc-gfortran
- docker exec -i fc11-testreport yum install python-argparse
script:
- echo `pwd`
- MITGCM_TROPT="-devel -of=../tools/build_options/linux_amd64_gfortran"
- MITGCM_DECMD="docker exec -i fc11-testreport bash -c"
# Test report runs
- MITGCM_EXP="aim.5l_cs"; MITGCM_PRECS="14 16"; . tools/ci/runtr.sh
- MITGCM_EXP="global_ocean.cs32x15"; MITGCM_PRECS="16 16 16 16 16"; . tools/ci/runtr.sh
- MITGCM_EXP="global_ocean.90x40x15"; MITGCM_PRECS="16 16 16"; . tools/ci/runtr.sh
- MITGCM_EXP="hs94.cs-32x32x5"; MITGCM_PRECS="13 16"; . tools/ci/runtr.sh
- MITGCM_EXP="isomip"; MITGCM_PRECS="16 16 16"; . tools/ci/runtr.sh
- MITGCM_EXP="offline_exf_seaice"; MITGCM_PRECS="16 16 16 16 16"; . tools/ci/runtr.sh
- MITGCM_EXP="tutorial_advection_in_gyre"; MITGCM_PRECS="16"; . tools/ci/runtr.sh
- MITGCM_EXP="tutorial_cfc_offline"; MITGCM_PRECS="16"; . tools/ci/runtr.sh
- MITGCM_EXP="tutorial_deep_convection"; MITGCM_PRECS="16 16"; . tools/ci/runtr.sh
- MITGCM_EXP="tutorial_global_oce_biogeo"; MITGCM_PRECS="16"; . tools/ci/runtr.sh
- MITGCM_EXP="tutorial_global_oce_in_p"; MITGCM_PRECS="16"; . tools/ci/runtr.sh
- MITGCM_EXP="tutorial_plume_on_slope"; MITGCM_PRECS="16"; . tools/ci/runtr.sh
# Generate a summary
- docker exec -i fc11-testreport bash -c "cd /MITgcm/verification; ./testreport ${MITGCM_TROPT} -q"