-
-
Couldn't load subscription status.
- Fork 5.9k
travis: Update to trusty #1884
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
travis: Update to trusty #1884
Conversation
* Set dist explicitly. * Install ruby-dev. * Update lua to newer version.
|
Ken Takata wrote:
* 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.)
It no longer fails on Ruby, but can't find GTK:
checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... /usr/bin/pkg-config
no
It falls back to Athena, but that fails to start with:
Warning: Missing charsets in String to FontSet conversion
and:
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
This works just fine on my Ubuntu machine.
…--
"Time flies like an arrow". So I put an arrow on my desk, now
awaiting one of these time flies showing up.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|
|
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. |
Since this test is run with the font The current Travis CI looks like as if one or a combination of the following happened:
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... |
|
Kazunobu Kuriyama wrote:
> 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...
Let me switch back to precise for now, since currently all builds are
failing. I hope someone can spend some time on a pull request to figure
out the right configuration for trusty.
…--
ARTHUR: Right! Knights! Forward!
ARTHUR leads a charge toward the castle. Various shots of them battling on,
despite being hit by a variety of farm animals.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|
Problem: Build failure on Travis.
Solution: Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
closes vim#1884)
rvm resetto use the default version of ruby. (Link fails without this.)