-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
52 lines (52 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
43
44
45
46
47
48
49
50
51
52
language: python
python:
- 2.7
- 3.5
addons:
apt:
packages:
- git
- make
- curl
- xz-utils
- file
- pandoc
- libboost-all-dev
- language-pack-ja-base
- language-pack-ja
- ibus-mozc
- gcc-5
- g++-5
- build-essential
- swig
sources:
- ubuntu-toolchain-r-test
before_install:
- sudo apt-get update -qq
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 1
- sudo update-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
- mkdir ./target
- export CC="gcc-5"
- export CXX="g++-5"
- export CFLAGS=-std=c++11
- export CXXFLAGS=-std=c++11
- sudo bash travis-mecab-install.sh
- which mecab-config
- sudo make install
- git clone --depth 1 https://github.com/neologd/mecab-ipadic-neologd.git
- cd mecab-ipadic-neologd && echo yes | sudo ./bin/install-mecab-ipadic-neologd && cd ../
- sudo juman -S
install:
- python --version
- python setup.py install
- pip install coveralls coverage nose
script:
- coverage run --source=JapaneseTokenizer setup.py test
after_success:
- coveralls
notifications:
email:
recipients:
on_success: always
on_failure: always