Skip to content

Commit 95a151d

Browse files
committed
Update the appveyor build.
1 parent 7c49049 commit 95a151d

File tree

4 files changed

+14
-285
lines changed

4 files changed

+14
-285
lines changed

.travis.yml

-7
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,17 @@ sudo: false
22
language: python
33
python:
44
- "2.7"
5-
- "3.5"
65
- "3.6"
76
matrix:
87
include:
98
- os: linux
109
python: 2.7
11-
- os: linux
12-
python: 3.5
1310
- os: linux
1411
python: 3.6
1512
- os: osx
1613
osx_image: xcode7.3
1714
language: objective-c
1815
env: TRAVIS_PYTHON_VERSION=2.7
19-
- os: osx
20-
osx_image: xcode7.3
21-
language: objective-c
22-
env: TRAVIS_PYTHON_VERSION=3.5
2316
- os: osx
2417
osx_image: xcode7.3
2518
language: objective-c

appveyor.yml

+14-29
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,48 @@
11
# AppVeyor.com is a Continuous Integration service to build and run tests under
2-
# Windows.
2+
# Windows
33
#
44
# Taken from the skimage project (https://github.com/scikit-image/scikit-image)
55

66
environment:
7-
global:
8-
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
9-
# /E:ON and /V:ON options are not enabled in the batch script intepreter
10-
# See: http://stackoverflow.com/a/13751649/163740
11-
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\tools\\run_with_env.cmd"
12-
137
matrix:
14-
- PYTHON: "C:\\Python27-conda32"
15-
PYTHON_VERSION: "2.7"
16-
PYTHON_ARCH: "32"
17-
18-
- PYTHON: "C:\\Python27-conda64"
19-
PYTHON_VERSION: "2.7"
20-
PYTHON_ARCH: "64"
21-
22-
- PYTHON: "C:\\Python36-conda32"
23-
PYTHON_VERSION: "3.6"
24-
PYTHON_ARCH: "32"
8+
- PYTHON: C:\Python27
9+
- PYTHON: C:\Python27-x64
10+
- PYTHON: C:\Python36
11+
- PYTHON: C:\Python36-x64
2512

26-
- PYTHON: "C:\\Python36-conda64"
27-
PYTHON_VERSION: "3.6"
28-
PYTHON_ARCH: "64"
13+
matrix:
14+
fast_finish: true
2915

3016
install:
3117
- ECHO "Filesystem root:"
3218
- ps: "ls \"C:/\""
33-
34-
# Install Python and all the required packages.
35-
- "powershell ./tools/install.ps1"
3619

37-
# Prepend newly installed Python to the PATH of this build
38-
# (this cannot be done from inside the powershell script as it would require
39-
# to restart the parent CMD process).
4020
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
21+
- "python -m pip install -U pip"
4122

4223
# Check that we have the expected version and architecture for Python
4324
- "python --version"
4425
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
26+
- "pip --version"
4527

4628
# Install the build and runtime dependencies of the project.
47-
- "%CMD_IN_ENV% python setup.py bdist_wheel bdist_wininst"
29+
- pip install --retries 3 -q wheel pytest pytest-timeout cython numpy scipy
30+
- pip list
31+
- python setup.py bdist_wheel bdist_wininst
4832
- ps: "ls dist"
4933

5034
# Install the generated wheel package to test it
5135
- "pip install --pre --no-index --find-links dist/ lap"
5236

53-
# Not a .NET project, we build lapjv in the install step instead
37+
# Not a .NET project, we build lap in the install step instead
5438
build: false
5539

5640
test_script:
5741
# Change to a non-source folder to make sure we run the tests on the
5842
# installed library.
5943
- "cd C:\\"
6044

45+
# Run unit tests with pytest
6146
- "python -c \"import pytest; import os; from lap.tests import __file__ as d; d = os.path.dirname(d); pytest.main([d])\""
6247

6348
artifacts:

tools/install.ps1

-203
This file was deleted.

tools/run_with_env.cmd

-46
This file was deleted.

0 commit comments

Comments
 (0)