-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
37 lines (37 loc) · 1.1 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
language: generic
os: osx
compiler:
- gcc
before_install:
- brew update
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-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 info -a
- conda config --set anaconda_upload no
- conda config --add channels https://conda.anaconda.org/horta
install:
- conda install -q -y conda-build setuptools numpy cython matplotlib scikit-learn h5py scipy pandas anaconda-client
- conda build conda-recipe
- conda install --use-local limix
script:
- conda config --add channels https://conda.anaconda.org/horta
- python setup.py test
deploy:
- provider: script
script: deploy/travis_conda
on:
tags: true
skip_cleanup: true
- provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
distributions: bdist_wheel
on:
tags: true
skip_cleanup: true
notifications:
slack: statgenomics:bm482zgneSYKk3dldHgplt2Z