forked from XanaduAI/thewalrus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
53 lines (41 loc) · 1.42 KB
/
appveyor.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
environment:
global:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
APPVEYOR_SKIP_FINALIZE_ON_EXIT: true
EIGEN_INCLUDE_DIR: C:\eigen-eigen-323c052e1731\
TEST_TIMEOUT: 1000
CIBW_BEFORE_BUILD: pip install numpy scipy cython
CIBW_SKIP: "cp27-* cp33-* cp34-* *win32"
CIBW_TEST_REQUIRES: "numpy scipy pytest pytest-cov"
CIBW_TEST_COMMAND: "python -m pytest {project}/thewalrus"
CIBW_BUILD_VERBOSITY: 3
WHEELHOUSE_UPLOADER_USERNAME: AKIAJOU6ECM5Q7T6UUQQ
WHEELHOUSE_UPLOADER_SECRET:
secure: ay6x72da/u/9Icggl83ZJyB5uUxJz1YFII2pZLD+bEznret6myBa/afWHXr021dh
cache:
- '%LOCALAPPDATA%\pip\Cache'
matrix:
fast_finish: false
install:
- ps: wget http://bitbucket.org/eigen/eigen/get/3.3.7.zip -outfile eigen3.zip
- cmd: 7z x eigen3.zip -o"C:\" -y > nul
build_script:
- set PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%
- pip install numpy scipy cython cibuildwheel==0.10.2
- cibuildwheel --output-dir wheelhouse
artifacts:
- path: "wheelhouse\\*.whl"
name: Wheels
skip_branch_with_pr: true
configuration: Debug
# override common configuration
for:
-
branches:
only:
- master
configuration: Release
after_build:
- pip install https://github.com/joerick/libcloud/archive/v1.5.0-s3fix.zip
- pip install wheelhouse-uploader
- python -m wheelhouse_uploader upload --provider-name S3 --local-folder wheelhouse/ xanadu-wheels