File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1313 - DO_COVERAGE_ON_BRANCH="master;release"
1414 - DO_CPPCHECK_ON_BRANCH=""
1515 - DO_INSTALL_DOC_EXCEPT_ON_BRANCH=""
16- - BUILD_WITH_CATKIN_SUPPORT=false
1716 - MAKEFLAGS="-j2"
1817
1918jobs :
@@ -67,7 +66,7 @@ branches:
6766 - master
6867 - debian
6968 - devel
70- before_install : ./.travis/run before_install
69+ before_install : ./travis_custom/custom_before_install
7170install : pip install coveralls numpy --user
7271script :
7372 - export CMAKE_ADDITIONAL_OPTIONS="-DCMAKE_BUILD_TYPE=${BUILDTYPE}"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Add Python dependency
4+ echo " TRAVIS_PYTHON_VERSION=$TRAVIS_PYTHON_VERSION "
5+ if [[ $TRAVIS_PYTHON_VERSION -gt 30 ]]; then
6+ export APT_DEPENDENCIES=$APT_DEPENDENCIES " python3-numpy"
7+ fi
8+
9+ # When this script is called the current directory is ./custom_travis
10+ . ./.travis/run ../.travis/before_install
11+
12+ # Git fetch tags
13+ git fetch --tags
14+
Original file line number Diff line number Diff line change 1111
1212if [[ $TRAVIS_PYTHON_VERSION -gt 30 ]]; then
1313 export CMAKE_ADDITIONAL_OPTIONS=" ${CMAKE_ADDITIONAL_OPTIONS} -DPYTHON_EXECUTABLE=$( which python3) "
14- pip3 install numpy --user
1514fi
1615
1716# Setup environment variables.
You can’t perform that action at this time.
0 commit comments