forked from CICE-Consortium/Icepack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 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
34
35
36
37
38
39
40
41
42
43
language: cpp
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- tcsh
- pkg-config
- netcdf-bin
- libnetcdf-dev
- gfortran
- gcc
- 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:[email protected]@ftp.cgd.ucar.edu
#-e 'mirror /archive/Model-Data/CICE/ ~/ICEPACK_INPUTDATA; quit'"
script:
- "./icepack.setup --suite travis_suite --testid travisCItest
--mach travisCI --env gnu &&
cd testsuite.travisCItest &&
./results.csh"
notifications:
email: false
after_failure:
- "for runlog in $TRAVIS_BUILD_DIR/testsuite.travisCItest/*.travisCItest/logs/icepack.runlog.*; do
echo \"### Contents of $runlog ###\" && cat $runlog; done"
- "git config --global user.email '[email protected]' &&
git config --global user.name 'ciceconsortium' &&
./report_results.csh --travisCI"