forked from scikit-learn-contrib/metric-learn
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
22 lines (21 loc) · 692 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: python
sudo: false
cache: pip
python:
- "2.7"
- "3.4"
- "3.6"
before_install:
- sudo apt-get install liblapack-dev
- pip install --upgrade pip pytest
- pip install wheel cython numpy scipy scikit-learn codecov pytest-cov
- if [[ ($TRAVIS_PYTHON_VERSION == "3.6") ||
($TRAVIS_PYTHON_VERSION == "2.7")]]; then
pip install git+https://github.com/skggm/skggm.git@a0ed406586c4364ea3297a658f415e13b5cbdaf8;
fi
script:
# we do coverage for all versions so that codecov will merge them: this
# way we will see that both paths (with or without skggm) are tested
- pytest test --cov;
after_success:
- bash <(curl -s https://codecov.io/bash)