Skip to content

Commit bd65f20

Browse files
committed
Add travisci badge and appveyor configuration.
1 parent bd216c7 commit bd65f20

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

.appveyor.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
build: false
2+
3+
os: Visual Studio 2015
4+
5+
platform:
6+
- x64
7+
- x86
8+
9+
environment:
10+
matrix:
11+
- MINICONDA: C:\xtensor-conda
12+
13+
init:
14+
- "ECHO %MINICONDA%"
15+
- C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\VC\vcvarsall.bat %PLATFORM%
16+
- ps: if($env:Platform -eq "x64"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe' C:\Miniconda.exe; echo "Done"}
17+
- ps: if($env:Platform -eq "x86"){Start-FileDownload 'http://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe' C:\Miniconda.exe; echo "Done"}
18+
- cmd: C:\Miniconda.exe /S /D=C:\xtensor-conda
19+
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%"
20+
21+
install:
22+
- conda config --set always_yes yes --set changeps1 no
23+
- conda update -q conda
24+
- conda info -a
25+
- conda install pytest -c conda-forge
26+
- cd test
27+
- conda install xtensor pytest numpy -c conda-forge
28+
- pip install git+https://github.com/pybind/pybind11.git
29+
- xcopy /S %APPVEYOR_BUILD_FOLDER%\include %MINICONDA%\include
30+
31+
build_script:
32+
- py.test .

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# xtensor-python
22

3+
[![Travis](https://travis-ci.org/QuantStack/xtensor.svg?branch=master)](https://travis-ci.org/QuantStack/xtensor-python)
4+
[![Appveyor](https://ci.appveyor.com/api/projects/status/8dpc5tx1m9lftt59?svg=true)](https://ci.appveyor.com/project/QuantStack/xtensor-python)
5+
36
Python bindings for the [xtensor](https://github.com/QuantStack/xtensor) C++ multi-dimensional array library.
47

58
- `xtensor` is a C++ library for multi-dimensional arrays enabling numpy-style broadcasting and lazy computing.

conda.recipe/bld.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
REM Copy headers
2-
xcopy /S %SRC_DIR%\include %LIBRARY_INC%
2+
xcopy /S /I %SRC_DIR%\include %PREFIX%\include

0 commit comments

Comments
 (0)