forked from VowpalWabbit/vowpal_wabbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 987 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
language: cpp
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libboost-all-dev
- sudo apt-get install maven
- sudo pip install cpp-coveralls wheel
# use miniconda for python package testing
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda create -q -n test-python27 python=2.7 nomkl numpy scipy scikit-learn
script:
- make all
- make python
- mvn test -f java/pom.xml
- make test
- make test_gcov --always-make
- cd python
- source activate test-python27
- pip install pytest readme_renderer
- python setup.py check -mrs
- python setup.py install
- py.test tests
- source deactivate
- cd ..
after_success:
- coveralls --exclude lib --exclude tests --gcov-options '\-lp'