-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
40 lines (40 loc) · 835 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
31
32
33
34
35
36
37
38
39
40
language: python
python:
- "3.5"
- "3.6"
addons:
apt:
packages:
- git
- make
- curl
- xz-utils
- file
- pandoc
- gcc-5
- g++-5
- build-essential
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
- export CC="gcc-5"
- export CXX="g++-5"
- export CFLAGS=-std=c++11
- export CXXFLAGS=-std=c++11
- pip install numpy scipy scikit-learn cython sqlitedict
install:
- python --version
- python setup.py install
- pip install coveralls coverage nose
script:
- coverage run --source=DocumentFeatureSelection setup.py test
after_success:
- sudo coveralls
notifications:
email:
recipients:
on_success: always
on_failure: always