forked from MouseLand/suite2p
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (70 loc) · 2.66 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
language: python
jobs:
include:
- name: Python 3.7.1 on Linux
dist: xenial
services:
- xvfb
python: 3.7
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O
miniconda.sh
- bash ./miniconda.sh -b
- export PATH=~/miniconda3/bin:$PATH
- conda update --yes conda
- name: Python 3.7.1 on Linux Bionic
dist: bionic
services:
- xvfb
python: 3.7
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O
miniconda.sh
- bash ./miniconda.sh -b
- export PATH=~/miniconda3/bin:$PATH
- conda update --yes conda
- name: Python 3.7.7 on macOS
os: osx
osx_image: xcode12
language: shell
before_install:
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
-O miniconda.sh
- bash ./miniconda.sh -b
- export PATH=~/miniconda3/bin:$PATH
- conda update --yes conda
- name: Python 3.7.7 on Windows
os: windows
language: shell
before_install:
- choco install python --version 3.7.7
- export MINICONDA=/c/miniconda
- MINICONDA_WIN=$(cygpath --windows $MINICONDA)
- choco install openssl.light
- choco install miniconda3 --params="'/AddToPath:0 /D:$MINICONDA_WIN'"
- PATH=$(echo "$PATH" | sed -e 's|:/c/ProgramData/chocolatey/bin||')
- PATH=$(echo "$PATH" | sed -e 's|:/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin||')
- source $MINICONDA/Scripts/activate
- source $MINICONDA/etc/profile.d/conda.sh
allow_failures:
- os: osx
- dist: bionic
- os: windows
install:
- conda env create -f environment.yml
- source activate suite2p
- pip install .[data,nwb]
- dvc pull -r gdrive-travis
- pip install coveralls
script:
- coverage run --source=suite2p --omit=suite2p/gui/* setup.py test
after_success: coveralls
deploy:
skip_cleanup: true
skip_existing: true
provider: pypi
user: __token__
password:
secure: iIUxK/XrLFS0yu7MwkXaAfuX0/CmaIVe+vFMOOdw+b1P1Yx+Lj+t074wrUS7/Ky0ZO9gY8PELnvqF+HQNbRUprMOl+P+4rdpJ5lw4LPWOMUSD14jiTaal3hYICOZSs/0sKFLYga0+/aCEYhOFfKOsPthlE6VDpUnmCvihGwZAFItnWJdq+/hKkLjOgLQbTCxLlQrudUYDRJWzgomoStjYt/B53YaoY2U2IC/RqfI5e2kOeNTK4qxWC6RnpjA81w0KMywkbWeSwB372j2+z180nvXEvsdln/QIq1bCpM3saKf2JjDDeKpq8r16sJ/pIr2OPldRMTa/UE6CvkssGWy7qA8lNbw/uwnMFIr/yvJboLJk/jG/4JjUWtJnNpDyzVt/o1DbimQDlQiacTwGmHlo4E/DrGQpbneSTU7Dfjg6ka5mvoxp2htMRRDfX1m9rdc/B7yjS49dN34GrWjcJiq24mlhYuACCLjZJvNF/CSUJg5JqR9aXpNjak0NOPs/JDs0mDWZNfdbcjff3+RXNEdpQVqYvayJsmEubnUoIPNm671Dc4xab5saEaxeS6oxwabCThQNhswksDEfzWtW8/7oAv2DfjfBEUClvjV6iD+NqWsRtotUrOXfSA/I6KjVsXVUBh+PhePwKceCT+M0Dp5WiRNbog6S7uEcCd2Nd0as38=
on:
tags: true