Skip to content

Commit b8dddb2

Browse files
committed
Fix .travis.yml install order so that git is not affected by sage libs
1 parent 653a3fc commit b8dddb2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,21 @@ install:
9494
- export TEST_CPP="no"
9595
- export MAKEFLAGS="-j2"
9696

97-
# Setup travis for Python wrappers
98-
- source bin/install_travis.sh
99-
10097
- git clone https://github.com/symengine/symengine symengine-cpp
10198
- cd symengine-cpp
10299
- export SOURCE_DIR=`pwd`
103100
- git checkout `cat ../symengine_version.txt`
101+
- cd ..
102+
103+
# Setup travis for Python wrappers
104+
- source bin/install_travis.sh
104105

105106
# Setup travis for C++ library
107+
- cd $SOURCE_DIR
106108
- if [[ "${WITH_SAGE}" != "yes" ]]; then source bin/install_travis.sh; fi
107109

108110
# Build C++ library
109-
- cd $PYTHON_SOURCE_DIR/symengine-cpp
111+
- cd $SOURCE_DIR
110112
- bin/test_travis.sh
111113
- unset MAKEFLAGS
112114

0 commit comments

Comments
 (0)