-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
42 lines (37 loc) · 1.18 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
language: cpp
os:
- linux
- osx
compiler:
- gcc
- clang
addons:
apt:
packages: git-core libcppunit-dev graphviz valgrind r-base-core texlive-latex-extra texlive-fonts-recommended doxygen
homebrew:
packages:
- cppunit
update: true
before_install:
- echo $LANG
- echo $LC_ALL
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq; sudo apt-get install -qq git-core libcppunit-dev graphviz valgrind r-base-core texlive-latex-extra texlive-fonts-recommended doxygen; fi
before_script:
- ./bootstrap
script:
- make hybrid-Lambda
- make check
- if [ $TRAVIS_OS_NAME == linux ]; then tests/checkbinary.sh; fi
- if [ $TRAVIS_OS_NAME == linux ]; then tests/fst/compute_fst.sh; fi
#- if [ $TRAVIS_OS_NAME == linux ]; then tests/fst/compute_fst_psi.sh; fi
- cd src; make
- rm -r *
- wget --no-check-certificate https://github.com/hybridLambda/hybrid-Lambda/archive/dev.tar.gz -o /dev/null
- tar -xf dev.tar.gz
- mv hybrid-Lambda-dev/* .
- ./bootstrap
- make hybrid-Lambda
- make check
- if [ $TRAVIS_OS_NAME == linux ]; then tests/checkbinary.sh; fi
#- if [ $TRAVIS_OS_NAME == linux ]; then tests/fst/compute_fst.sh; fi
- cd src; make