Skip to content

Commit 54c3053

Browse files
authored
Merge pull request #176 from ShikharJ/Travis
Testing without SymPy
2 parents 3d90759 + d4f8caf commit 54c3053

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ matrix:
6666
- env: BUILD_TYPE="Release" PYTHON_VERSION="2.7" WITH_NUMPY="no"
6767
compiler: clang
6868
os: linux
69+
- env: BUILD_TYPE="Debug" PYTHON_VERSION="3.6" WITH_SYMPY="no"
70+
compiler: gcc
71+
os: linux
6972
- env: BUILD_TYPE="Debug" PYTHON_VERSION="2.7"
7073
compiler: clang
7174
os: osx

appveyor.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ environment:
4242
COMPILER: MinGW-w64
4343
PYTHON_VERSION: 35-x64
4444
WITH_NUMPY: no
45+
- BUILD_TYPE: "Debug"
46+
COMPILER: MinGW-w64
47+
PYTHON_VERSION: 36-x64
48+
WITH_SYMPY: no
4549

4650
install:
4751
- set PYTHON_SOURCE_DIR=%CD%
@@ -76,9 +80,10 @@ install:
7680
- if NOT [%COMPILER%]==[MSVC15] 7z x -aoa -oC:\ pylibs.7z > NUL
7781

7882
- set PATH=C:\Python%PYTHON_VERSION%;C:\Python%PYTHON_VERSION%\Scripts;%PATH%
79-
- pip install nose pytest sympy
83+
- pip install nose pytest
8084
- pip install --install-option="--no-cython-compile" cython
8185
- if NOT [%WITH_NUMPY%]==[no] pip install numpy
86+
- if NOT [%WITH_SYMPY%]==[no] pip install sympy
8287

8388
- set /p commit=<symengine_version.txt
8489
- cd symengine-cpp

bin/install_travis.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
# symengine's bin/install_travis.sh will install miniconda
44
conda update -q -n root conda
55

6-
export conda_pkgs="python=${PYTHON_VERSION} pip cython sympy nose pytest"
6+
export conda_pkgs="python=${PYTHON_VERSION} pip cython nose pytest"
7+
8+
if [[ "${WITH_SYMPY}" != "no" ]]; then
9+
export conda_pkgs="${conda_pkgs} sympy";
10+
fi
711

812
if [[ "${WITH_NUMPY}" != "no" ]]; then
913
export conda_pkgs="${conda_pkgs} numpy";

0 commit comments

Comments
 (0)