-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 1.03 KB
/
.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
language: cpp
services:
- mongodb
compiler:
- gcc
before_install:
- echo $LANG && pwd
- echo $LC_ALL
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install apt-transport-https && sudo apt-get install -y llvm-3.4 llvm-3.4-dev && sudo apt-get install cmake; fi
- sudo apt-get update
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository ppa:boost-latest/ppa -y
- sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- sudo apt-get install libboost1.58-all-dev
- bin/cpp_prereq.sh
- bin/install_qt.sh
- bin/install_cmake.sh
- export CMAKE=`readlink -e build_dir/cmake-3.4.0-Linux-x86_64/bin/cmake`
- bin/install_mongo.sh
- bin/install_benchmark.sh
- bin/install_hdf5.sh
- cd cpp && ./.cmake.gen.sh && cd -
script:
- cd cmake_build/debug && make VERBOSE=1 && ctest && cd -
- cd cmake_build/release && make VERBOSE=1 && ctest && cd -