forked from tjof2/robustpca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (30 loc) · 929 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
language: python
env:
global:
- PIP_REQS="numpy scikit-learn cython coverage pytest pytest-cov coveralls"
before_install:
- if [${TRAVIS_OS_NAME} == "linux"]; then sudo apt-get update -qq; fi
- sh ./install-dependencies.sh
matrix:
include:
- name: "Linux, 3.7, pip, gcc"
env: COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
python: 3.7
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'libblas-dev', 'liblapack-dev', 'libopenblas-dev']
- name: "Linux, 3.8, pip, gcc"
env: COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
python: 3.8
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7', 'libblas-dev', 'liblapack-dev', 'libopenblas-dev']
script:
- which python
- pip install --upgrade $PIP_REQS
- pip install --upgrade -e .
- pytest --cov=robustpca robustpca/
after_success:
- coveralls