Skip to content

Commit 5304fce

Browse files
authored
Update .travis.yml (#496)
1 parent 6b81b7c commit 5304fce

File tree

1 file changed

+15
-20
lines changed

1 file changed

+15
-20
lines changed

.travis.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,39 +57,34 @@ build_deploy_common: &build_deploy_common
5757

5858
jobs:
5959
include:
60-
- name: "Compile and test. Python 3.8"
60+
- name: "Compile and test. Python 3.10"
6161
<<: *job_compile_common
6262
stage: Test and lint
63-
python: "3.8"
63+
python: "3.10"
6464
env:
6565
- TEST_DATASET=true
6666

67-
- name: "Compile and lint. Python 3.8"
67+
- name: "Compile and lint. Python 3.10"
6868
<<: *job_compile_common
6969
stage: Test and lint
70-
python: "3.8"
70+
python: "3.10"
7171
script:
7272
- $PYTHON_EXECUTABLE -m pip install -r requirements-dev.txt
7373
- make pycodestyle
7474
- make pylint
7575
- make mypy
7676

77-
- name: "Compile and test. Python 3.9"
77+
- name: "Compile and test. Python 3.8"
7878
<<: *job_compile_common
7979
stage: Test multiple python versions
80-
python: "3.9"
80+
python: "3.8"
8181

82-
- name: "Compile and test. Python 3.10"
82+
- name: "Compile and test. Python 3.9"
8383
<<: *job_compile_common
8484
stage: Test multiple python versions
85-
python: "3.10"
85+
python: "3.9"
8686

87-
- name: "Compile and test. Python 3.11"
88-
<<: *job_compile_common
89-
stage: Test multiple python versions
90-
python: "3.11"
91-
92-
- name: "Build wheel for Python 3.9, 3.10, 3.11 on Linux x86_64"
87+
- name: "Build wheel for Python 3.8, 3.9 on Linux x86_64"
9388
os: linux
9489
dist: bionic
9590
language: python
@@ -101,17 +96,17 @@ jobs:
10196
- CIBW_ENVIRONMENT="TORCH_VERSION_SPECIFIER='==1.13.0'"
10297
- CIBW_BEFORE_BUILD="pip install torch==1.13.0 torchvision==0.14.0 && pip install -r requirements.txt"
10398
- CIBW_MANYLINUX_X86_64_IMAGE="aihwkit/manylinux2014_x86_64_aihwkit"
104-
- CIBW_BUILD="cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64"
99+
- CIBW_BUILD="cp38-manylinux_x86_64 cp39-manylinux_x86_64"
105100
before_install:
106101
- docker pull aihwkit/manylinux2014_x86_64_aihwkit
107102
install:
108-
- python3 -m pip install cibuildwheel==2.11.4
103+
- python3 -m pip install cibuildwheel==1.10.0
109104
script:
110105
# Build the wheels into './wheelhouse'.
111106
- python3 -m cibuildwheel --output-dir wheelhouse
112107
<<: *build_deploy_common
113108

114-
- name: "Build wheel for Python 3.9, 3.10, 3.11 on OS X"
109+
- name: "Build wheel for Python 3.8, 3.9 on OS X"
115110
os: osx
116111
osx_image: xcode12.4
117112
stage: Build wheels
@@ -125,11 +120,11 @@ jobs:
125120
# Use a specific torch version.
126121
- CIBW_ENVIRONMENT="TORCH_VERSION_SPECIFIER='==1.13.0'"
127122
- CIBW_BEFORE_BUILD="pip install torch==1.13.0 torchvision==0.14.0 && pip install ./delocate && pip install -r requirements.txt"
128-
- CIBW_BUILD="cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64"
123+
- CIBW_BUILD="cp38-macosx_x86_64 cp39-macosx_x86_64"
129124
before_install:
130125
- git clone -b aihwkit https://github.com/aihwkit-bot/delocate.git
131126
install:
132-
- python3 -m pip install cibuildwheel==2.11.4
127+
- python3 -m pip install cibuildwheel==1.10.0
133128
script:
134129
# Build the wheels into './wheelhouse'.
135130
- python3 -m cibuildwheel --output-dir wheelhouse --platform macos
@@ -158,7 +153,7 @@ jobs:
158153
- mkdir C:\\BLAS
159154
- 7z x openblas.zip -oc:\\BLAS
160155
install:
161-
- python3 -m pip install cibuildwheel==2.11.4
156+
- python3 -m pip install cibuildwheel==1.10.0
162157
script:
163158
# Build the wheels into './wheelhouse'.
164159
- python3 -m cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)