forked from KratosMultiphysics/Kratos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (38 loc) · 896 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
sudo: false
dist: trusty
language: cpp
compiler: g++
git:
depth: 3
cache: ccache
env:
global:
- CCACHE_COMPILERCHECK=content
- CCACHE_COMPRESS=true
- CCACHE_NODISABLE=true
- CCACHE_MAXSIZE=50M
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
- sourceline: 'ppa:boost-latest/ppa'
packages:
- gcc-6
- g++-6
- gfortran
- 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 install -j2
- ccache -s
# - cd ../kratos/python_scripts
# - python3 run_tests.py -l small