forked from piskvorky/gensim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (37 loc) · 1011 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
48
49
50
51
sudo: false
cache:
apt: true
directories:
- $HOME/.cache/pip
- $HOME/.ccache
- $HOME/.pip-cache
dist: trusty
language: python
env:
TOX_PARALLEL_NO_SPINNER: 1
matrix:
include:
- python: '3.6'
env: TOXENV="flake8,flake8-docs"
- python: '3.8'
env:
- TOXENV="py38-linux"
dist: bionic
- python: '3.7'
env:
- TOXENV="py37-linux"
- BOTO_CONFIG="/dev/null"
dist: xenial
sudo: true
- python: '3.6'
env: TOXENV="py36-linux"
install:
- pip install tox
- sudo apt-get install -y gdb # install gdb
before_script:
- ulimit -c unlimited -S # enable core dumps
script: tox -vv
after_failure:
- pwd
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) # find core file
- if [[ -f "$COREFILE" ]]; then EXECFILE=$(gdb -c "$COREFILE" -batch | grep "Core was generated" | tr -d "\`" | cut -d' ' -f5); file "$COREFILE"; gdb -c "$COREFILE" "$EXECFILE" -x continuous_integration/debug.gdb -batch; fi