Skip to content

Commit

Permalink
Fixed borked travis file (#292)
Browse files Browse the repository at this point in the history
* Fixed borked travis file
* Specified trusty distribution to get CI back online
  • Loading branch information
aidanheerdegen authored Jun 28, 2019
1 parent 2a69f46 commit bf6d8cc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
language: c
sudo: required

dist: trusty

git:
depth: 3
quiet: true
Expand Down Expand Up @@ -30,14 +32,16 @@ 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

# after_success:
# - find .
# - codecov --gcov-exec=gcov-4.8

0 comments on commit bf6d8cc

Please sign in to comment.