File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -49,5 +49,6 @@ install:
49
49
- ci/travis_install.sh
50
50
51
51
before_script :
52
+ - . ci/travis_before_script.sh
52
53
- bundle exec rake clobber compile
53
54
- python lib/pycall/python/investigator.py
Original file line number Diff line number Diff line change
1
+ __DIR__=$( cd $( dirname $BASH_SOURCE ) ; pwd)
2
+ . $__DIR__ /travis_retry.sh
3
+
4
+ set -ex
5
+
6
+ if test -z " $PYENV_VERSION " ; then
7
+ echo " ERROR: PYENV_VERSION is not provided" > 2
8
+ exit 1
9
+ fi
10
+
11
+ if test -n " $LIBPYTHON " ; then
12
+ export LIBPYTHON=$( pyenv root) /$LIBPYTHON
13
+ fi
14
+
15
+ case " $PYENV_VERSION " in
16
+ * conda* )
17
+ source $( pyenv prefix) /bin/activate test-environment
18
+ ;;
19
+ esac
20
+
21
+ set +ex
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if test -z "$PYENV_VERSION"; then
11
11
fi
12
12
13
13
if test -n " $LIBPYTHON " ; then
14
- LIBPYTHON=$( pyenv root) /$LIBPYTHON
14
+ export LIBPYTHON=$( pyenv root) /$LIBPYTHON
15
15
fi
16
16
17
17
if test " $PYENV_VERSION " = " system" ; then
You can’t perform that action at this time.
0 commit comments