-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
84 lines (77 loc) · 2.03 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
language: python
sudo: true
dist: xenial
python:
#- 3.5 # ray >=1 does not support; before: installing ray takes 6m30s. also a complaint about numpy<1.16, I guess travis has an old version
- 3.6
- 3.7
- 3.8
- 3.9
#- nightly
matrix:
fast_finish: true
allow_failures:
- python: 3.9 # ray does not yet support 3.9
- python: nightly
- python: 3.8
arch: arm64
- python: 3.8
arch: s390x
- name: "OSX" # takes a normal amount of time
env: ONLY_BUILTINS=1
os: osx
osx_image: xcode12 # 10.15.5
language: shell
install:
# for osx we can't say "python: 3.8" so we use the system python3
- python3 --version
- pip3 install .
- pip3 install .[test]
include:
- python: 3.5
env: ONLY_BUILTINS=1
install:
- pip install .
- pip install .[test]
- python: 3.8
env: PARAMSURVEY_VERBOSE=3 PYTEST_STDERR_VISIBLE=-s
- name: "OSX"
env: ONLY_BUILTINS=1
os: osx
osx_image: xcode12 # 10.15.5
language: shell
install:
# for osx we can't say "python: 3.8" so we use the system python
- python3 --version
- pip3 install .
- pip3 install .[test]
# - python: 3.8
# arch: arm64 # works but takes 35 minutes
# env: ONLY_BUILTINS=1
# install:
# - pip install .
# - pip install .[test]
# # no ray on arm64
# - python: 3.8
# arch: s390x # works but takes 9.25 minutes, needs a hack in unit/test_params/test_param_stress
# env: ONLY_BUILTINS=1
# install:
# - pip install .
# - pip install .[test]
# # no ray on s390
git:
depth: 99999
before_install:
# temporary workaround for s390x and arm64 permissions problem
# https://travis-ci.community/t/permission-issue-while-building-wheels-for-various-python-packages/7822/12
- sudo mkdir -p ~/.cache/pip/wheels # does not exist on osx
- sudo chown -Rv $USER:$GROUP ~/.cache/pip/wheels
install:
- pip install .
- pip install .[test]
- pip install .[ray]
# - pip install .[mpi]
script:
- make test_coverage
after_success:
coveralls