-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
53 lines (47 loc) · 990 Bytes
/
.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
os: linux
dist: xenial
language: python
notifications:
email: false
env:
global:
- INSTALL_NUMPY=1
- PY_VENV=$TRAVIS_BUILD_DIR/venv
- PYTHON=$PY_VENV/bin/python
jobs:
include:
- python: "3.5"
dist: trusty
arch: amd64
- python: "3.5"
arch: amd64
- python: "3.6"
dist: trusty
arch: amd64
- python: "3.6"
arch: amd64
- python: "3.7"
arch: amd64
- python: "3.6"
dist: bionic
arch: arm64
- python: "3.7"
dist: bionic
arch: arm64
install:
- python -m venv $PY_VENV
- export PIP="$PYTHON -m pip"
# For some reason, pip caching fails on ARM64
- export PIP_INSTALL="$PIP install --no-cache-dir"
- $PIP_INSTALL -U pip wheel setuptools
- |
if [ "${INSTALL_NUMPY}" = "1" ]; then
$PIP_INSTALL -U numpy
fi
- $PIP_INSTALL -r requirements.txt
before_script:
- $PYTHON setup.py install
script:
- cd /tmp
- $PYTHON -m pickle5.test.test_picklebuffer -v
- $PYTHON -m pickle5.test.test_pickle