forked from NeuroDataDesign/graspy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (28 loc) · 1.22 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
dist: xenial
sudo: true
language: python
python:
- '3.5'
- '3.6'
matrix:
include:
- python: 3.7
cache: pip
install:
- pip install -r requirements.txt
- pip install -U pytest pytest-cov codecov
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then travis_retry pip install black; fi
script:
- pytest graspy/ tests/
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then black --check --diff ./graspy ./tests; fi
after_success:
- codecov
deploy:
- provider: pypi
user: "j1c"
password:
secure: YlLbfPTKZuzhGECU3pYH3pOBdJnF59//e2Y3Ibg7IPbCYhGAwd4QG4fkKboLI5YMaR28CtpKwL7KrwWJpGfDfh+F+mvxalYHNp5xbM9+VHHGvPsabV2wHHmFIEKR1y2YkHW4fcfiELMjP9clVFJcXMzqOF4AAMLZJZpujVBxQLNk8YWapCHpwln6iGVj21iTMWOKTGRVPuRBf76hmGgqyJDftdJ52DCfR8d/6VL0EUh9iKrDN445gjT54EettyZfdSv/MhC7w9mg8Uhtf8qrAPn8/6Kt8QLKYpovFcm+qOPXkM8GiXRXAo70Yx9i/iORNCWHbwfzdmf3jUQ/Ea3XUuaCxBW3voA9ijMQQuYhtUFfO4oXyKyl1EUVjARORTVhlZKnoSfugv5zTyS+dqok5TGDJcMySHjSg6BzunDI2m5a1SPZVkB9dc3SYIonPPxvP/WzuvnRTmnn1GLRvS4RP+nQihGBcjJmAItvMDVmTkSkNufw1eBzjpZM78UXP0WAUPPSCrS+t9NwnZZPOCBoTpEhONtmBIPdq2e4zTdj+DfSvFfRX8UktgFg70ItrrGN9YTbN2VsVC9YDGOquQ549V5tc1k6t+Gp6VWRSzxKWwP9E7qvdYLMPkRd0bQIYQY7Gy1/3HFFP8dpulW3ITWPSGogCuNpmhkRqdRNztokvBg=
on:
tags: true
repo: neurodata/graspy
python: '3.6'