-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
35 lines (35 loc) · 1 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
matrix:
include:
- language: c
sudo: required
compiler: gcc
env:
- VALGRIND_TEST_ON=1
before_install:
- sudo apt-get install -qq valgrind
- sudo apt-get update
- sudo apt-get install python2.7
script:
- make
- sudo python setup.py install
- python test/test.py
- python test/test_oldindex.py
- python test/test_oldindex2.py
- source test/test_c.sh # valgrind test is applied when VALGRIND_TEST_ON=1
- source test/test_c_oldindex.sh # test for old index
- source test/test_c_oldindex2.sh # test for old index
- language: c
sudo: required
compiler: gcc
env:
- VALGRIND_TEST_ON=1
before_install:
- sudo apt-get install -qq valgrind
- sudo apt-get update
- sudo apt-get install python3
- sudo apt-get install python3-setuptools
script:
- make
- sudo python3 setup.py install
- python3 test/test.py
- python3 test/test_oldindex.py