diff --git a/.travis.yml b/.travis.yml index 5715b89697..bfcf3a4067 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ language: c sudo: required +dist: trusty + git: depth: 3 quiet: true @@ -30,10 +32,11 @@ matrix: install: - sudo apt-add-repository --yes ppa:ubuntu-toolchain-r/test - sudo apt-get update - - sudo apt-get install csh gcc-4.8 gfortran-4.8 libgomp1 openmpi-bin libopenmpi-dev libnetcdf-dev netcdf-bin + - sudo apt-get install csh gcc-4.8 gfortran-4.8 libgomp1 openmpi-bin libopenmpi-dev libnetcdf-dev netcdf-bin before_script: - - [[ $TYPE =~ (^ACCESS) ]] && git clone --depth=1 https://github.com/OceansAus/oasis3-mct.git && (cd oasis3-mct && make ubuntu) + - git clone --depth=1 https://github.com/OceansAus/oasis3-mct.git + - (cd oasis3-mct && make ubuntu) script: - cd exp && ./MOM_compile.csh --type $TYPE --platform travis --use_netcdf4 @@ -41,3 +44,4 @@ script: # after_success: # - find . # - codecov --gcov-exec=gcov-4.8 +