-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis-direct.yml
40 lines (39 loc) · 1.32 KB
/
.travis-direct.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
language: cpp
sudo: required
dist: xenial
compiler:
- gcc
os:
- linux
before_install:
- sudo apt-get update
- sudo apt-get -y install locales
- sudo locale-gen $LANG
- sudo apt-get -y install gcc g++ clang cppcheck cmake
- sudo apt-get -y install zlib1g-dev libbz2-dev libgmp-dev
- sudo apt-get -y install libboost-all-dev libxapian-dev graphviz
- sudo apt-get -y install libreadline-dev libncurses5-dev
- sudo apt-get -y install libzmqpp-dev libssl-dev libffi-dev
- sudo apt-get -y install sqlite3 libsqlite3-dev libmysql++-dev
- sudo apt-get -y install postgresql-server-dev-all
- sudo apt-get -y install libicu-dev libprotobuf-dev protobuf-compiler
- sudo apt-get -y install python libpython-dev python3 libpython3-dev
- sudo apt-get -y install doxygen ghostscript texlive-latex-recommended
- mkdir -p /opt
- git clone https://github.com/SOCI/soci.git /opt/soci
- cp ci-scripts/soci-debian-cmake.patch /opt/soci
- ./ci-scripts/soci-install-debian.sh
script:
- mkdir build
- pushd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE:STRING=Debug -DINSTALL_DOC:BOOL=ON -DRUN_GCOV:BOOL=OFF -DLIB_SUFFIX= ..
- sudo make install
- /usr/bin/opentrep-indexer
- /usr/bin/opentrep-searcher
branches:
only:
- master
- "/^opentrep-\\d+\\./"
env:
- LANG="en_US.UTF-8"
- LC_ALL="en_US.UTF-8"