-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
32 lines (30 loc) · 994 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
language: cpp
sudo: required
dist: trusty
before_install:
- sudo apt-get update > /dev/null
- sudo apt-get --no-install-recommends -q -y install cmake
- sudo apt-get --no-install-recommends -q -y install ccache
- sudo apt-get --no-install-recommends -q -y install openmpi-common openmpi-bin libopenmpi-dev
- sudo apt-get --no-install-recommends -q -y install libqt4-dev qt4-dev-tools libqt4-xmlpatterns
# - sudo apt-get -qq install qtbase5-dev
# run build preparation script
- ./scripts/pre-build.sh
# build paraview using custom parameters
- ./scripts/build-paraview.sh
# build astyle because the astyle version in the official repos is outdated
- ./scripts/download-and-install-astyle.sh
# build GTest libraries
- ./scripts/build-gtest.sh
script:
- ./scripts/formatter-check.sh
- ./scripts/build.sh
notifications:
slack: kronosus:1qazkyb5u4Kx7Rtqlk8IB83b
cache:
apt: true
ccache: true
directories:
- bin/astyle
- bin/gtest
- bin/paraview