forked from UoMResearchIT/paragait-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 1021 Bytes
/
.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
matrix:
include:
- os: linux
dist: trusty
sudo: required
language: cpp
#addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - g++-7
# -
#env:
# - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6 "
# - os: osx
# osx_image: xcode8
# env:
# - MATRIX_EVAL="brew install gcc && CC=gcc-6 && CXX=g++-6"
# The default environment variables $CC and $CXX are known to interfere with MPI projects.
before_install:
#- eval "${MATRIX_EVAL}"
- test -n $CC && unset CC
- test -n $CXX && unset CXX
script:
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then
sudo apt-get update -qy;
sudo apt-get install -y gcc g++ gfortran libopenmpi-dev make cmake rpm flex bison git git-svn subversion python-dev zlib1g-dev wget unzip mesa-common-dev freeglut3-dev;
fi
- chmod u+x paragait.sh parafem.sh gaitsym.sh foam-extend.sh openfpci.sh;
- ./paragait.sh;
- cat paragait.log;