This repository has been archived by the owner on Oct 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
75 lines (65 loc) · 2.29 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
71
72
73
74
75
language: python
dist: xenial
os:
- linux
python:
- 2.7
- 3.5
- 3.6
- 3.7
- pypy2.7-5.10.0
- pypy3.5
env:
- NUMPY="numpy==1.13.1"
- NUMPY="numpy==1.14.5"
- NUMPY="numpy>=1.15"
matrix:
exclude:
- python: 3.7
env: NUMPY="numpy==1.13.1"
- python: pypy2.7-5.10.0
env: NUMPY="numpy==1.14.5"
- python: pypy3.5
env: NUMPY="numpy==1.14.5"
- python: pypy2.7-5.10.0
env: NUMPY="numpy==1.13.1"
- python: pypy3.5
env: NUMPY="numpy==1.13.1"
addons:
apt:
packages:
- python-setuptools
script:
cd python; pytest tests
install:
- pip install --upgrade setuptools_scm
- pip install $NUMPY
- if [[ $TRAVIS_PYTHON_VERSION = pypy* ]] ; then pip install "numpy<1.16.0" ; fi # FIXME: pypy bug in numpy
- python -c 'import numpy; print(numpy.__version__)'
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]] ; then pip install pandas ; fi
- pip install "flatbuffers>=1.8.0"
- pip install pytest pytest-runner
- pip install --upgrade pyOpenSSL # for deployment
notifications:
slack: scikit-hep:b6cgBXwccPoaCNLn5VKFJFVy
deploy:
provider: pypi
user: pivarski
password:
secure: "ll6TswTNkAH9WcbQjG9750rGCdzWERvIv4owldT0eEL7OCe9/9HaYv5Tc4NcCdNaxsTIOmd0StkWgZIWxz/YZqSPIlCJbHDFnH+gda3gDrLcY96QqKb81mAhe2XsgUG0IWc1+lLhdqnC2nepVF7caags1SqxYzozSioRN6BptvZDqLUZmZ8jlxbPS0+mPGpRa2a3udY4mo71ToGwnfjKNAKLyXrEthWuSE4dz/f9FYyuFPEkP2WndDo1jHrKPNIbx1iKUcPQJQhLTBMsd8MQgRPoskgBIqG3U8QGWCCj3SmJgd9dmSfGmVyN+y50vpPWpo2Z0kU7ldUkY7HsRtF2ew5mOfzU4GjWs4wC247gWoTBxGNCpdJcBxzzUMxYyabF9rA+klQfjp5Kud7ujaHLZJQzDGfqLsjCVobiZ7sIn0dfWDE/jB3V7vARBAXrhmg/6Bvvu7ULmdeZ0i/+hKB9bVHENFXvw9lUegEAjijyuJZWqWCsevybSkpqVDUF6a/GO15quclJc5SMdBoRlJ3cY1mYyubRdmJnMTEr0rUoOzocMKxjdEZMzcljLEuSaBk2XJJejXUdcoHFKGsHFC25x+xNmMeSVaQm2OjTFT3DqcWENbDwGtbHpSNcJV176a1DZWQJgYgDw5cX1vLhzLrM9+GI773zhn1vCQpnAStcsMM="
distributions: "sdist bdist_wheel --universal"
on:
tags: true
branch: master
condition: '$TRAVIS_PYTHON_VERSION = "3.7" && $NUMPY = "numpy>=1.15"'
jobs:
include:
- stage: binder
python: "3.6"
env: NPY="numpy>=1.15"
addons: skip
before_install: skip
install: skip
script:
# Use Binder build API to trigger repo2docker to build image
- bash binder/trigger_binder.sh https://mybinder.org/build/gh/scikit-hep/aghast/"${TRAVIS_BRANCH}"