-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (34 loc) · 1.61 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
38
39
40
41
42
#
# you can validate this file ahead of time: http://lint.travis-ci.org/
language: python
python:
- 3.5
- 2.7
env:
- NUMPY_VERSION=1.11
cache:
directories:
- $HOME/.cache
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION numpy=$NUMPY_VERSION nose scikit-learn matplotlib
- source activate test
- python setup.py install
script:
- python runtests.py
- bash check_tag.sh bananas/bananas.py
deploy:
- provider: pypi
distributions: sdist
server: https://pypi.python.org/pypi
user: "rainwoodman"
password:
secure: "hrtIbkpES6B4SWvm1ZJMWG0gpwG0o/zYNCKaROHJpX5X5NawWsMzBvPF6+Scl24qHYedOP1b0cvLDCNFZofeRfByCIKADhhzgOsQrUbcsaky4agyXkrxMoJo2U7tA5ESBuZVuYR/DHA5lIXjXKtrtatDjSxL6Up5Gi4y99e6DgvmrO8H4WK0ASvoFqaTZdT4NAjDRV5vqh7wIQZt1LfvsVGFyBdFB7w/pygzqR4ppdINt7uXzdB8x5eM3/j/P4uoZOoS/j7uLRTXmojeyKJsM3uJTVTs5hoxVR0dsKCmpFDUsmFEAdnd2UkpyKSo1J/FmSHvs9D812T/4eV2tmYIK9DIXF8THq0Eqsm1IRXuX1twNaxr9mbiWuI3JPQtVYqaX0T73HYjpIDpNdjaMrMUWqwQ/7b/ruBODuhaeLrtH8r+kzc5YfSyY1+7io9TAPZxTaN/Csj7/ve1x9KY7/mWu9/7y5XdteR4uIzTVDOPw0dyMc25MEoxQVeIp0LOKXQbA3Wdp6YBFrgeGo3LPivgZTwwD2xJj+WFY/22BTZIUfSlO2tFguL7u6U7aTVSzq2kQF9FmP9OOU++27XtheqkG10ONRMVsdAl+PKW1/UGRQCpLb1yfDWz8/MpmwDv4t9ug/kBLx+3KAffNbuV8xkIYUa6dUs4k7B9wD1m9XlGtGE="
on:
tags : true
condition : $TRAVIS_PYTHON_VERSION = "2.7"