-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
26 lines (26 loc) · 862 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
language: python
sudo: required
dist: xenial
#env:
# - CMD_PYTHON=`which python`
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
before_install:
- sudo apt-get update -y
- sudo apt-get install -y openssl libcppunit-dev libreadline6 libreadline6-dev valgrind realpath libmodule-install-perl
- wget https://github.com/torden/go-mdbm/raw/master/pkg/ubuntu/mdbm-4.13.0-Precise_Pangolin.deb
- sudo dpkg -i mdbm-4.13.0-Precise_Pangolin.deb
- sudo apt-get install -y gdb
#- git clone https://github.com/yahoo/mdbm.git src_mdbm
before_script:
- ulimit -c unlimited -S
- ulimit -s unlimited
script:
- CFLAGS="-Wl,-rpath=/usr/local/mdbm/lib64/" make
after_failure:
- CFLAGS="-Wl,-rpath=/usr/local/mdbm/lib64/" gdb -ex "thread apply all bt" -ex "set pagination 0" -batch --args `which python` tests/test.py