forked from BLLIP/bllip-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (27 loc) · 878 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
sudo: required
dist: trusty
language: cpp
compiler:
- gcc
- clang
env:
- BLLIPINTERFACE=cmd
- BLLIPINTERFACE=python
matrix:
exclude:
- compiler: clang
env: BLLIPINTERFACE=cmd
before_install:
- sudo apt-get update
install:
- sudo apt-get install -y libboost-dev liblbfgs-dev flex
- bash -c "[ $BLLIPINTERFACE != "python" ] || sudo apt-get install -y swig3.0 python-nose python-tk python3-tk"
- bash -c "[ $BLLIPINTERFACE != "python" ] || sudo pip install python-coveralls tox flake8 nltk asciitree"
before_script:
- bash -c "[ $BLLIPINTERFACE != "python" ] || swig3.0 -version"
script:
- bash -c "[ $BLLIPINTERFACE != "cmd" ] || make world"
- bash -c "[ $BLLIPINTERFACE != "cmd" ] || ./regression-test -fFtT"
- bash -c "[ $BLLIPINTERFACE != "python" ] || tox"
after_success:
- bash -c "[ $BLLIPINTERFACE != "python" ] || coveralls"