Skip to content

Commit e465ad2

Browse files
committed
Test with numpy
1 parent 90739ec commit e465ad2

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ env:
3131

3232
# Release builds:
3333
- PYTHON_VERSION="2.7" BUILD_SHARED_LIBS="yes"
34-
- PYTHON_VERSION="2.7" WITH_MPFR="yes" INTEGER_CLASS="gmpxx"
34+
- PYTHON_VERSION="2.7" WITH_MPFR="yes" INTEGER_CLASS="gmpxx" WITH_NUMPY="no"
3535
- PYTHON_VERSION="3.3" WITH_MPC="yes"
36-
- PYTHON_VERSION="3.4" WITH_MPFR="yes" WITH_NUMPY="yes"
37-
- PYTHON_VERSION="3.5" WITH_MPC="yes" WITH_NUMPY="yes"
38-
- PYTHON_VERSION="3.6" WITH_MPC="yes" WITH_NUMPY="yes"
36+
- PYTHON_VERSION="3.4" WITH_MPFR="yes"
37+
- PYTHON_VERSION="3.5" WITH_MPC="yes"
38+
- PYTHON_VERSION="3.6" WITH_MPC="yes"
3939

4040
matrix:
4141
exclude:
@@ -63,16 +63,16 @@ matrix:
6363
- clang
6464
- libstdc++-4.8-dev
6565
- binutils-dev
66-
- env: BUILD_TYPE="Release" PYTHON_VERSION="2.7"
66+
- env: BUILD_TYPE="Release" PYTHON_VERSION="2.7" WITH_NUMPY="no"
6767
compiler: clang
6868
os: linux
6969
- env: BUILD_TYPE="Debug" PYTHON_VERSION="2.7"
7070
compiler: clang
7171
os: osx
72-
- env: BUILD_TYPE="Release" PYTHON_VERSION="3.5"
72+
- env: BUILD_TYPE="Release" PYTHON_VERSION="3.5" WITH_NUMPY="no"
7373
compiler: clang
7474
os: osx
75-
- env: BUILD_TYPE="Debug" PYTHON_VERSION="2.7" WITH_NUMPY="yes"
75+
- env: BUILD_TYPE="Debug" PYTHON_VERSION="2.7" WITH_NUMPY="no"
7676
compiler: gcc
7777
os: osx
7878
- env: BUILD_TYPE="Release" PYTHON_VERSION="3.5"

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ environment:
2929
- BUILD_TYPE: "Debug"
3030
COMPILER: MinGW-w64
3131
PYTHON_VERSION: 35-x64
32+
WITH_NUMPY: no
3233

3334
install:
3435
- set PYTHON_SOURCE_DIR=%CD%
@@ -63,6 +64,7 @@ install:
6364
- set PATH=C:\Python%PYTHON_VERSION%;C:\Python%PYTHON_VERSION%\Scripts;%PATH%
6465
- pip install nose pytest sympy
6566
- pip install --install-option="--no-cython-compile" cython
67+
- if NOT [%WITH_NUMPY%]==[no] pip install numpy
6668

6769
- set /p commit=<symengine_version.txt
6870
- cd symengine-cpp

bin/install_travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# symengine's bin/install_travis.sh will install miniconda
44
export conda_pkgs="python=${PYTHON_VERSION} pip cython sympy nose pytest"
55

6-
if [[ "${WITH_NUMPY}" == "yes" ]]; then
6+
if [[ "${WITH_NUMPY}" != "no" ]]; then
77
export conda_pkgs="${conda_pkgs} numpy";
88
fi
99

0 commit comments

Comments
 (0)