Skip to content

CI/DOC: fix clipboard on travis #26103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ install:
- ci/submit_cython_cache.sh
- echo "install done"

before_script:
# display server (for clipboard functionality) needs to be started here,
# does not work if done in install:setup_env.sh (GH-26103)
- export DISPLAY=":99.0"
- echo "sh -e /etc/init.d/xvfb start"
- sh -e /etc/init.d/xvfb start
- sleep 3

script:
- echo "script start"
- source activate pandas-dev
Expand Down
6 changes: 0 additions & 6 deletions ci/setup_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,10 @@ echo "conda list"
conda list

# Install DB for Linux
export DISPLAY=":99."
if [ ${TRAVIS_OS_NAME} == "linux" ]; then
echo "installing dbs"
mysql -e 'create database pandas_nosetest;'
psql -c 'create database pandas_nosetest;' -U postgres

echo
echo "sh -e /etc/init.d/xvfb start"
sh -e /etc/init.d/xvfb start
sleep 3
else
echo "not using dbs on non-linux"
fi
Expand Down