forked from KratosMultiphysics/Kratos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (42 loc) · 1002 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
38
39
40
41
42
43
44
45
46
47
48
49
sudo: false
dist: trusty
language: cpp
compiler: g++
git:
depth: 3
cache: ccache
env:
global:
- CCACHE_SLOPPINESS=pch_defines,time_macros
- CCACHE_COMPILERCHECK=content
- CCACHE_COMPRESS=true
- CCACHE_NODISABLE=true
- CCACHE_MAXSIZE=500M
- FC=gfortran-6
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'ppa:boost-latest/ppa'
packages:
- gcc-6
- g++-6
- gfortran-6
- libboost1.55-dev
- libboost-serialization1.55-dev
- libboost-python1.55-dev
- libblas-dev
- liblapack-dev
before_script:
- export PYTHONPATH=${PYTHONPATH}:${TRAVIS_BUILD_DIR}
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${TRAVIS_BUILD_DIR}/libs
script:
- cp scripts/build/travis/configure_travis_trusty.sh cmake_build/configure.sh
- cd cmake_build
- bash configure.sh
- make all_unity
- make runkratos
- make install/fast
- ccache -s
# - cd ../kratos/python_scripts
# - python3 run_tests.py -l small