Merge pull request #263 from dschwoerer/fedora-travis

Fedora travis
This commit is contained in:
mergify[bot]
2020-06-08 08:52:43 +00:00
committed by GitHub
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -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
@@ -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.
+3
View File
@@ -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++