forked from scikit-hep/awkward-0.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
89 lines (79 loc) · 3.47 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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:
pytest -v 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__)'
- pip install pytest pytest-runner
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]] ; then pip install h5py pyarrow ; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]] ; then pip install numba ; ln -s ../awkward-numba/awkward/numba awkward/numba ; fi
- pip install uproot-methods
- python -c 'import uproot_methods; print(uproot_methods.__version__)'
- python -c 'import awkward; print(awkward.__version__)'
- export AWKWARD_DEPLOYMENT=base
- pip install --upgrade pyOpenSSL # for deployment
notifications:
slack: scikit-hep:b6cgBXwccPoaCNLn5VKFJFVy
before_deploy:
- |
if [[ $AWKWARD_DEPLOYMENT == base ]]
then
echo "DEPLOYING base"
export AWKWARD_DEPLOYMENT=numba
elif [[ $AWKWARD_DEPLOYMENT == numba ]]
then
echo "DEPLOYING numba"
cd awkward-numba
export AWKWARD_DEPLOYMENT=none
fi
deploy:
- provider: pypi
user: pivarski
password:
secure: "UV299wmXqrZHCDSeXgMqfqFi91KvEVG9V8OCKJT3H2ZVk9LJ6QEfmd5jhnU+5K+8WsIgiyhdoIE5Vn5rtkYnW0iYnow6rLMWGPfDTSt7KMtJlXuJxpbBaD46pLXS9nF2UGYJwy4Tg8OzYzjozFNht+s2xqhcmLLCTal+94lvs9b9J9k27nVdzQFgO8c9JE5rwkO5gAMGOPqlyumAElOVyTLBsqHkWY9rvKO0hesX/QhtiLZ5IVYsYgdy62+BOFepiJP0PzTaPJJmN2UxarOPyTTlIDE8odxTWrrcIW1Sw1Xff09Rsq+ZU48rMUfIWBOKdkWY8sFsj+NiPt5XdqAki84nrnjscjfbPAX0pYoOFg/HcEgBkd4t7IqzeKGq4lN9A8DbaANXllHeVc1UgYPiNxqfVX3msoiGCcKweKiA9ok3jtepnOsSYTSiCWLKSx+ojlWxQE/1g4q1pfH9xTliKcPXX9eQenCmmWP1Z+EzvZc1F4YoMaOq4whofzv8Y2MPjMj13+toWfE7/t5qOMeIm8Q7iK3xIYa8pJOGXQ5b9GMu58CyIGQ1ekSrluitD+STn0xevT2dldi9++3aZzVHmC14zCCMRI7mmIcP80dOcDT1uoSv1HC/r1ccUcQYtpBjWg2l3Rp+IOPUcYJgtFZrfeBrAorwGZcm7SGn96ailrM="
distributions: "sdist bdist_wheel --universal"
on:
tags: true
branch: master
condition: '$TRAVIS_PYTHON_VERSION = "3.7" && $NUMPY = "numpy>=1.15"'
- provider: pypi
user: pivarski
password:
secure: "GRE/YTl10fGZVQOHiWNEfuLxNnJxtrW5zW9as420yfSO8FeZ83pdjcKc4aADhf5YeRfEPbInZ0oseRyXujqw/cGpZL6LDMKmgjmcpL5dKF4u82pS3HYKMg/AdEHozsmQeJbOQdBn1RHknSyg38bswwwgBy5F5fP9RC7glax3sK7iScT+aVAW1KbHzMjtzNb+RDyFC87THkdWwJf/TgevslEMW6SBMWrE87Yf2Tu77Payz/eSMZ8lXcVmD6kyO3/GwIiygyLJojaC1RH0aw+zM+FSP2EKJb9MdXDGINRzyoaiWO43rvtE01z7OCUipYD8wEv4SuGy9UNbc7ALg3hQjLDmKMqyTCK6Y7mQ7zbSF9vaYyHzP2etnnz5djji/e4j88PQqmJVLDmsll/Af5+6apENn3VPM4SW2GEgECp7Y5f0CW+IceRY8eS2P1v1V+LPTwxOx4IWW3xjxI5GPz3XfUTA/tF0uGgvmkR97vcL7AzkvyOip+OL10YY1bj7+ZGYDt07UqIutn0uhHtGqb6gBm90CC4aWpykDqlnyBe6UHH9qcI3wNpAiy3VgeakB/1umkWmKmYSx92rRQvm9gd9FFQO9QMIddnlQ2f8FR4nEyF8K+/RDH/zKduGeiQbep86EcILkkuGCVhF/Z51AlFtHA9K7XBQMhvSyKn6NVjENCY="
distributions: "sdist bdist_wheel --universal"
on:
tags: true
branch: master
condition: '$TRAVIS_PYTHON_VERSION = "3.7" && $NUMPY = "numpy>=1.15"'