Skip to content

Commit

Permalink
Merge pull request #263 from dschwoerer/fedora-travis
Browse files Browse the repository at this point in the history
Fedora travis
  • Loading branch information
mergify[bot] authored Jun 8, 2020
2 parents 82c193b + bb9f75a commit e508181
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@ jobs:
include:
# fedora (released fedora with openmpi)
- stage: fedora
name: "Fedora latest with openmpi"
dist: bionic
script: ./scripts/travis_fedora.sh setup openmpi latest
# fedora (with gcc 10 and mpich)
- stage: fedora
name: "Fedora rawhide with mpich"
dist: bionic
script: ./scripts/travis_fedora.sh setup mpich rawhide

# osx <=> macOS 10.13 (high sierra)
- stage: osx
os: osx
Expand Down Expand Up @@ -226,6 +229,7 @@ jobs:
&& \
sudo docker start -a mobydick
after_failure:

# show build error or test log to know what is wrong if errors occured.
Expand Down
3 changes: 3 additions & 0 deletions scripts/travis_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ test . != ".$1" && mpi="$1" || mpi=openmpi
## If we are called as root, setup everything
if [ $UID -eq 0 ]
then
cat /etc/os-release
# Ignore weak depencies
echo "install_weak_deps=False" >> /etc/dnf/dnf.conf
time dnf -y upgrade
time dnf -y install environment-modules git \
gfortran openblas-devel cmake ${mpi}-devel make gcc-c++
Expand Down

0 comments on commit e508181

Please sign in to comment.