forked from turbinesFoam/turbinesFoam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (25 loc) · 864 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
# Travis CI setup for turbinesFoam
sudo: required
dist: trusty
language: cpp
before_install:
- sudo add-apt-repository http://www.openfoam.org/download/ubuntu
- sudo apt-get update -qq
- sudo apt-get install -qq openfoam30 --allow-unauthenticated
- sudo apt-get install -qq vera++
# http://conda.pydata.org/docs/travis.html#the-travis-yml-file
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda install -q pandas numpy nose
install:
- source /opt/openfoam30/etc/bashrc
- ./Allwmake
before_script:
- source /opt/openfoam30/etc/bashrc
script:
- ./Alltest
- ./checkStyle