File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ install:
86
86
- ci/submit_cython_cache.sh
87
87
- echo "install done"
88
88
89
+ before_script :
90
+ # display server (for clipboard functionality) needs to be started here,
91
+ # does not work if done in install:setup_env.sh (GH-26103)
92
+ - export DISPLAY=":99.0"
93
+ - echo "sh -e /etc/init.d/xvfb start"
94
+ - sh -e /etc/init.d/xvfb start
95
+ - sleep 3
96
+
89
97
script :
90
98
- echo "script start"
91
99
- source activate pandas-dev
Original file line number Diff line number Diff line change @@ -118,16 +118,10 @@ echo "conda list"
118
118
conda list
119
119
120
120
# Install DB for Linux
121
- export DISPLAY=" :99."
122
121
if [ ${TRAVIS_OS_NAME} == " linux" ]; then
123
122
echo " installing dbs"
124
123
mysql -e ' create database pandas_nosetest;'
125
124
psql -c ' create database pandas_nosetest;' -U postgres
126
-
127
- echo
128
- echo " sh -e /etc/init.d/xvfb start"
129
- sh -e /etc/init.d/xvfb start
130
- sleep 3
131
125
else
132
126
echo " not using dbs on non-linux"
133
127
fi
You can’t perform that action at this time.
0 commit comments