I’m messing with the Adafruit GFX library here with a view to making a subset of my normal MQTT-based code supporting the little 160128 LCD displays. I’m hoping someone can save me a learning curve here. AugPeter Scargill Adafruit, fonts 17 Comments.Once that setting was changed, it finally worked. For Docker version 1.12 I had to go into the taskbar, right click the Docker Icon, select Settings -> Network and set the DNS Server to fixed, so that is uses Google's DNS server at 8.8.8.8. Bitbucket Permissions used by Travis CI. Here is an example of how to expose a port in Dockerfile: The above line will instruct Docker that the container’s service can be connected to via port 8080. With the EXPOSE rule, you can tell Docker that the container listens on the stated network ports during runtime.
My tests broke but were working yesterday Have to worry (a slow or overloaded network can also cause those time outs). Improve this page on GitHub Common Build ProblemsIf it all checks out, proceed to the next steps. Ruby: Tests frozen and cancelled after 10 minute log silence Ruby: Installing the debugger_ruby-core-source library fails Capybara: I’m getting errors about elements not being found Ruby: RSpec returns 0 even though the build failed Segmentation faults from the language interpreter (Ruby, Python, PHP, Node.js, etc.) Vpn for mac revieTravis CI does not preserve the state between builds Windows: common build problems and known issues Linux: apt fails to install package with 404 error System: Required language pack isn’t installed Mac: macOS Sierra (10.12) Code Signing Errors Docker Network Timed Out Update Our BuildPlus, thereDepending on the tool in use, this can be caused by a few things: Node: Script execution before dependency installation causes build failuresMy tests broke but were working yesterday #A very common cause when a test is suddenly breaking without any major codeChanges involved is a change in upstream dependencies.This can be an Ubuntu package or any of your project’s language dependencies,Like RubyGems, NPM packages, Pip, Composer, etc.Restart a build that used to be green, the last known working one, for instance.If that build suddenly fails too, there’s a good chance, that a dependency wasCheck the list of dependencies in the build log, usually outputIncluding versions and see, if there’s anything that’s changed.Sometimes, this can also be caused by an indirect dependency that was updated.After figuring out which dependency was updated, lock it to the last knownAdditionally, we update our build environment regularly, which brings in newerVersions of languages and the running services.My build script is killed without any error #Sometimes, you’ll see a build script causing an error and the message inThis is usually caused by the script or one of the programs it runs exhaustingThe memory available in the build sandbox, which is currently 3GB. Duplicate/Unknown job shows up in my build Travis CLI does not recognize my valid Github token I’m running out of disk space in my build I pushed a commit and can’t find its corresponding build It can be caused by memory leaks or by customSettings for the garbage collector, for instance to delay a sweep for as long asPossible. MoreThan two to four processes should be fine, beyond that, resources are likely toWith Ruby processes, check the memory consumption on your local machine, it’sLikely to show similar causes. g++ needing too much memory to compile files, for instance with a lot ofFor parallel processes running at the same time, try to reduce the number. Tests running in parallel using too many processes or threads (e.g. ![]() /Provisioning/certs/apple.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesignSecurity import. This is commonly due to some RubyGemOverwriting the at_exit handler of another RubyGem, in this case RSpec’s.The workaround is to install this at_exit handler in your code, as pointed outSecurity create-keychain -p travis ios-build.keychain# Make the custom keychain default, so xcodebuild will use it for signingSecurity default-keychain -s ios-build.keychainSecurity unlock-keychain -p travis ios-build.keychain# Add certificates to keychain and allow codesign to access themSecurity import. Travis.yml (you can add it back in a subsequent commit).Ruby: RSpec returns 0 even though the build failed #In some scenarios, when running rake rspec or even rspec directly, the commandReturns 0 even though the build failed. removing the cache key from your. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorSara ArchivesCategories |