-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 1.62 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
sudo: false
language: python
python:
- '2.7'
- '3.4'
before_install:
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
-O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- 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
addons:
apt:
packages:
- pandoc
install:
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy nose
pylint pandas matplotlib
- source activate test-environment
- pip install pypandoc
- pip install .
- pip install coveralls
script:
- nosetests test --with-coverage --cover-package=stanity && ./lint.sh
after_success: coveralls
deploy:
provider: pypi
user: hammerlab
password:
secure: "UoNE+LpXOR0J0bedhspkpT6es2TNVSnGfftMpn2GsIGCu9chxfg8NCNBscZybanDytcIuLadxfrc+jHIE4i85PGpQeKa3dIYXWYW7D7pL1c/cqb8KhTVrzfn1N9av91Rvcv+LnkqMIkyDwxH++1N2dq2flGxA3O5YD4uZz0dHzpA/T3sKec0BKwtnuZ2wi7E9HV7enMhPpoRESm6pCd6UZ5NXhN0qO0Y6zJ6DtwF704KFMrXb2EnWThEDVx13V678xswsvGDqD03E2RPcr27c2h5MV3aUqh9gesJTgenU6FjjAR1q/hz30Bb+shA8xivCcuh6y/i1TdCxhSnL/77hwCiGiVMFOnmUy8rABFpD0/Sju3CDZid0uY9nfDCae+ARUhE9moVkJTVg0Q377XWP/RmiANduUq6KHYn6h43fY9T+3nK3ChSqUu30cgSJ3/J1NDSPZucGMqvJdYOsVUo9vzTM3t6D5gze0PYl7LwdkEla9Cjix0JtuMamXgC0Y83/7mms6i9pZbFd9hxhQlBeJiMGTdpiEPOCnNJ/+wp7mVFQScsjInxTiOEj+G1WewvDLX2MlzatuoLVtCm34X5mtyixEm1XFG1gxjz0mt5HsSxOHj8EFPmzxkt8nh/1OQ3flIfgsRGY0F8hi+pykgXnN0WQfS52zZyBw9TxjfLegs="
on:
branch: master
tags: true