File tree Expand file tree Collapse file tree 5 files changed +16
-13
lines changed Expand file tree Collapse file tree 5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,14 @@ install:
93
93
- git checkout `cat ../symengine_version.txt`
94
94
- cd ..
95
95
96
- # Setup travis for Python wrappers
97
- - source bin/install_travis.sh
98
-
99
96
# Setup travis for C++ library
100
97
- cd $SOURCE_DIR
101
98
- source bin/install_travis.sh
102
99
100
+ # Setup travis for Python wrappers
101
+ - cd $PYTHON_SOURCE_DIR
102
+ - source bin/install_travis.sh
103
+
103
104
# Build C++ library
104
105
- cd $SOURCE_DIR
105
106
- bin/test_travis.sh
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8)
2
2
project (python_wrapper )
3
3
4
4
set (CMAKE_PREFIX_PATH ${SymEngine_DIR} ${CMAKE_PREFIX_PATH} )
5
- find_package (SymEngine 0.2 .0 REQUIRED CONFIG
5
+ find_package (SymEngine 0.3 .0 REQUIRED CONFIG
6
6
PATH_SUFFIXES lib/cmake/symengine cmake/symengine CMake/ )
7
7
message ("SymEngine_DIR : " ${SymEngine_DIR} )
8
8
set (CMAKE_BUILD_TYPE ${SYMENGINE_BUILD_TYPE} )
Original file line number Diff line number Diff line change 10
10
if [[ " ${WITH_SAGE} " == " yes" ]]; then
11
11
export conda_pkgs=" ${conda_pkgs} sage" ;
12
12
fi
13
+
14
+ conda update -q -n root conda
15
+ conda install ${conda_pkgs}
Original file line number Diff line number Diff line change 9
9
python setup.py install build_ext --inplace --symengine-dir=$our_install_dir
10
10
11
11
# Test python wrappers
12
- if [[ " ${WITH_SAGE} " != " yes" ]]; then
13
- nosetests -v
14
- # If switching to py.test, the following collects correct tests:
15
- # py.test -v $PYTHON_SOURCE_DIR/symengine/tests/test_*.py
16
- mkdir -p empty
17
- cd empty
18
- python $PYTHON_SOURCE_DIR /bin/test_python.py
19
- fi
12
+ nosetests -v
13
+ # If switching to py.test, the following collects correct tests:
14
+ # py.test -v $PYTHON_SOURCE_DIR/symengine/tests/test_*.py
15
+ mkdir -p empty && cd empty
16
+ python $PYTHON_SOURCE_DIR /bin/test_python.py
17
+ cd ..
18
+
20
19
if [[ " ${WITH_SAGE} " == " yes" ]]; then
21
20
sage -t $PYTHON_SOURCE_DIR /symengine/tests/test_sage.py
22
21
fi
Original file line number Diff line number Diff line change 1
- 0172e47349b7d158ee8a7186eb0a19a7f155a225
1
+ v0.3.0
You can’t perform that action at this time.
0 commit comments