forked from ornladios/ADIOS2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 915 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
sudo: false
language: cpp
dist: trusty
addons:
apt:
packages:
- clang-3.8
- clang-format-3.8
- clang-tidy-3.8
- libmpich-dev
before_install:
- pushd ${HOME}
- wget http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
- wget http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz
- popd
install:
- pushd ${HOME}
- tar -xf clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
- tar -xf cmake-3.7.2-Linux-x86_64.tar.gz
- export PATH="${PWD}/cmake-3.7.2-Linux-x86_64/bin:${PATH}"
- popd
- pip install --user flake8
- git config --global clangformat.binary clang-format-3.8
- ./scripts/travis/build-cppcheck.sh
env:
matrix:
- BUILD_MATRIX_ENTRY=format
- BUILD_MATRIX_ENTRY=analyze
- BUILD_MATRIX_ENTRY=check
script:
- git reset --hard ${TRAVIS_PULL_REQUEST_SHA}
- ${TRAVIS_BUILD_DIR}/scripts/travis/run.sh