forked from PyAbel/PyAbel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.89 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
language: python
os: linux
env: DEPS="numpy scipy cython"
jobs:
include:
- dist: jammy
python: 3.11
# give RTD enough time to build the docs before the PyPI deployment
before_deploy: sleep 5m
deploy:
provider: pypi
username: DanHickstein
password:
secure: RlJ41NowzFZ57pzbCQNTnm2OY5tSoCocbassn03GEzWrUqDnVG/jtvqWxf5bKdJ5T1WrFmjeI6/GWGx9Xk5HXAfWQLJjtmtrN/SYerBtdUAEyyV0s//o/Wd2qEB3tj8FCtUAx+mf5Q9ck3mRCFuYqK9rApXXxeUOqCE3R6pnEf/Ubpg7NYqMphziZA65qClqJNl1RFxBRD8mVoik99IrLitka6UnctFMBMWhchuGP80FTG5kyl6sIvVn1cwQISSF3Yr+IVqiKQGL1syRnef4FzOhn5sY4tZwR50cEF1CdAAZQU5GqiFwMKTjmocT/YIMVViJm6/SukJUzPeZNC7YuQBb9ZGroF257PgYyrnGkEK6qs3i3qexRI2c2uLmq19H0FbBtNo1ZHYUF6kzmga+7dW9brzd7zLU2em+nqN7w09JO1Z9gFfHIC5XD276bkwtIK5qT0r7SjNY/HdO/HYaSCLI+FR4R/XpTzC+vWIkhpdv3WZ5IpdIFn9f1SW3Uq4hyro0wlojb26TUyidSIzHDYgPepxLVy5YPuT8Css0kqMh5j9uZeTCqMkyeeSrTBOF64NO6w7RH5cLTYGXMixMNudzHY8yZfH9NaynG+dRwwyy7okFg5D8qKT4zMJfn3yvzg1DAENqz2/cNL38epDEXRruTR99qGnN+xMG2WE/WRs=
distributions: sdist
skip_existing: true
on:
tags: true
repo: PyAbel/PyAbel
# SciPy fails to install for current 3.10.8
#- dist: jammy
# python: 3.10
- python: 3.9
- python: 3.8
- python: 2.7
- os: osx
language: generic
osx_image: xcode10.1
# - os: windows
# language: generic
# env: TOXENV=py39, DEPS="numpy scipy cython"
install:
- pip install --upgrade pip setuptools wheel
# python >=3.7 has built-in dataclasses,
# and the external package preinstalled on Travis breaks SciPy
- pip uninstall -y dataclasses
- pip install ${DEPS}
- pip install --upgrade coveralls pytest pytest-cov
- pip install . -v
script:
# test in /tmp to use the installed package and get meaningful coverage info,
# then return to the source dir for the deployment step
- pushd /tmp; pytest -v --cov=abel --pyargs abel; popd