We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335bf72 commit cc306fcCopy full SHA for cc306fc
.travis.yml
@@ -75,7 +75,7 @@ script:
75
- mkdir build
76
- cd build
77
- export CMAKE_PREFIX_PATH=/tmp/_ci/install
78
- - cmake ..
+ - cmake .. -DPYTHON_EXECUTABLE=$PYTHON_DEFAULT_VERSION
79
- make
80
- ./extra_lib
81
- cd /tmp/_ci/build
travis_custom/custom_before_install
@@ -2,8 +2,10 @@
2
3
# Add Python dependency
4
echo "TRAVIS_PYTHON_VERSION=$TRAVIS_PYTHON_VERSION"
5
+export PYTHON_DEFAULT_VERSION=$(which python2)
6
if [[ $TRAVIS_PYTHON_VERSION -gt 30 ]]; then
7
export APT_DEPENDENCIES=$APT_DEPENDENCIES" python3-numpy"
8
+ export PYTHON_DEFAULT_VERSION=$(which python3)
9
fi
10
11
# When this script is called the current directory is ./custom_travis
0 commit comments