-
Notifications
You must be signed in to change notification settings - Fork 139
/
Copy path.travis.yml
41 lines (34 loc) · 1.11 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
language: cpp
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- tcsh
- pkg-config
- netcdf-bin libnetcdf-dev #libnetcdff-dev (only required on Debian)
- gfortran
- openmpi-bin libopenmpi-dev
#- wget
#- lftp
#install:
# Fetch Icepack-specific dataset
#- "wget ftp://ftp.cgd.ucar.edu/archive/Model-Data/CICE/Icepack_data.tar.gz &&
# tar xvfz Icepack_data.tar.gz -C ~"
# Mirror entire data folder
#- "lftp ftp://anonymous:travis@travis-ci.org@ftp.cgd.ucar.edu
#-e 'mirror /archive/Model-Data/CICE/ ~/ICEPACK_INPUTDATA; quit'"
script:
- "./cice.setup --suite base_suite --testid travisCItest
--mach travisCI --env gnu;
cd base_suite.travisCItest &&
./results.csh"
notifications:
email: false
after_failure:
- "for runlog in $TRAVIS_BUILD_DIR/base_suite.travisCItest/*.travisCItest/logs/cice.runlog.*; do
echo \"### Contents of $runlog ###\" && cat $runlog; done"
#- "git config --global user.email 'travis@travis-ci.org' &&
#git config --global user.name 'ciceconsortium' &&
#./report_results.csh --travisCI"