forked from bigartm/bigartm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (37 loc) · 912 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
46
47
sudo: false
language:
- python
- cpp
compiler:
- gcc
python:
- "2.7"
virtualenv:
system_site_packages: true
addons:
apt:
sources:
- boost-latest # for boost 1.55
- ubuntu-toolchain-r-test # for g++-4.9
packages:
- cmake
- libboost1.55-all-dev
- python-numpy
- python-pandas
- python-virtualenv
- g++-4.9
env:
- COMPILER=g++-4.9
before_install:
- pip install pep8
- pip install -U pytest
install:
- ./codestyle_checks.sh
- mkdir build
- pushd build && export CXX=$COMPILER && cmake -DBUILD_STATIC_BIGARTM=OFF .. && make -j2 && file ./src/bigartm/bigartm && popd
- pushd python && python setup.py install && popd
before_script:
- pushd python/tests && ./download_datasets.sh && popd
script:
- export ARTM_SHARED_LIBRARY=`pwd`/build/src/artm/libartm.so
- pushd build && make test ARGS="-V" && popd