-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
86 lines (75 loc) · 2 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
os: linux
language: python
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- SEGFAULT_SIGNALS=all
- TOX_SKIP_MISSING_INTERPRETERS="False"
- BIGARTM_PARENT_DIR=$(echo $PWD)
- COLLECTIONS_DIR="$(echo $PWD)/collections"
before_install:
- mkdir $COLLECTIONS_DIR
- python --version
- pip --version
- uname -a
- lsb_release -a
- sudo apt-get --yes update
- sudo apt-get --yes install git make cmake build-essential libboost-all-dev gfortran libblas-dev liblapack-dev
- sudo python -m pip install -U pip
- sudo python -m pip install -U setuptools>=40.0.0
- python -m pip install -U setuptools>=40.0.0
- virtualenv --version
- git clone https://github.com/bigartm/bigartm.git
- chmod +x .travis/build-n-wheel.sh
- chmod +x .travis/select-wheel.sh
- python -m pip install tox
cache: pip
script: tox -v
jobs:
fail_fast: true
include:
# - stage: Check
# env: TOXENV=clean,check
- stage: Build_n_test
before_install:
- python --version
- python -m pip install tox
env: TOXENV=clean,check
- stage: Build_n_test
python: '3.6'
env: TOXENV=py36,codecov
install:
- .travis/build-n-wheel.sh 3 6
- export BIGARTM_WHEEL=$(.travis/select-wheel.sh 3 6)
- export ARTM_SHARED_LIBRARY=/usr/local/lib/libartm.so
- stage: Build_n_test
python: '2.7'
env: TOXENV=py27
install:
- .travis/build-n-wheel.sh 2 7
- export BIGARTM_WHEEL=$(.travis/select-wheel.sh 2 7)
- export ARTM_SHARED_LIBRARY=/usr/local/lib/libartm.so
- stage: Build_n_test
python: '3.6'
before_install:
- python --version
- python -m pip install tox
env: TOXENV=quality
allow_failures:
- env: TOXENV=py27
- env: TOXENV=quality
# allow_failures:
# - env: TOXENV=quality
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
#
#deploy:
# provider: script
# script: .travis/deploy.sh
# on:
# all_branches: true
#notifications:
# email:
# on_success: never
# on_failure: never