Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@k-takata
Copy link
Member

  • Set dist explicitly.
  • Install ruby-dev.
  • Update lua to newer version.
  • Run rvm reset to use the default version of ruby. (Link fails without this.)

k-takata added 2 commits July 27, 2017 21:26
* Set dist explicitly.
* Install ruby-dev.
* Update lua to newer version.
@brammool
Copy link
Contributor

brammool commented Jul 27, 2017 via email

@jamessan
Copy link
Contributor

There's no explicit enabling/disabling of GUI testing in the Travis config, so it's just relying on whatever happens to be in the environment. It would be better to explicitly install the required packages to build one of the GUIs and explicitly enable/disable building the GUI in relevant parts of the build matrix.

Then there wouldn't be haphazard build issues as Travis changes the environment.

@k-takata k-takata deleted the update-to-trusty branch July 28, 2017 01:22
@nuko8
Copy link

nuko8 commented Jul 28, 2017

Caught exception in Test_1_set_secure(): Vim(gui):E665: Cannot start GUI, no valid font found @ function RunTheTest[24]..Test_1_set_secure, line 2

Since this test is run with the font 7x13, one of the fonts which are usually installed as part of X11, there seems to be another issue on Travis side, too, in addition to the one pointed out by @jamessan.

The current Travis CI looks like as if one or a combination of the following happened:

  1. it hadn't created nor installed /usr/X11R6/share/fonts/misc/fonts.alias, and hence X11 couldn't identify 7x13 with its actual XLFD.
  2. The file differed from the one we usually have.
  3. It hadn't installed the font file itself, so even after the alias was resolved, X11 couldn't load it.
  4. The font paths were not set property.
  5. All those preliminaries were done, but someone forgot to update lists or caches using mkfontdir,mkfontscale and fc-cache.

Anyway, it doesn't looks like the X11 was made fully operational for our GUI test. So it's highly likely that the CI would still bother us even after implementing @jamessan 's idea...

@brammool
Copy link
Contributor

brammool commented Jul 28, 2017 via email

dpelle pushed a commit to dpelle/vim that referenced this pull request Jul 31, 2017
Problem:    Build failure on Travis.
Solution:   Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
            closes vim#1884)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants