Permalink
Browse files

CI: Use SWIG 3.0.10

  • Loading branch information...
marcogario committed Oct 27, 2018
1 parent 7c39e78 commit a2f2c5c5cd4f7bbce77c3b866dead4b758063d99
Showing with 9 additions and 2 deletions.
  1. +7 −0 ci/travis_before_install.sh
  2. +2 −2 ci/travis_install.sh
@@ -61,3 +61,10 @@ fi
# Check that the correct version of Python is running.
python ${DIR}/check_python_version.py "${TRAVIS_PYTHON_VERSION}"
# Install latest version of SWIG
git clone https://github.com/swig/swig.git
cd swig
git checkout rel-3.0.10
./autogen.sh && ./configure && make
sudo make install
@@ -52,8 +52,8 @@ fi
# Adding Python 3.7 library path to GCC search
if [ "${TRAVIS_PYTHON_VERSION}" == "3.7" ]; then
export LIBRARY_PATH="/opt/python/3.7.0/lib:${LIBRARY_PATH}"
export CPATH="/opt/python/3.7.0/include/python3.7m:${CPATH}"
export LIBRARY_PATH="/opt/python/3.7.1/lib:${LIBRARY_PATH}"
export CPATH="/opt/python/3.7.1/include/python3.7m:${CPATH}"
fi

0 comments on commit a2f2c5c

Please sign in to comment.