travis-ci

Why is bundler insisting on an exact gem version number when the gemspec states an open constraint?

断了今生、忘了曾经 提交于 2019-12-12 19:03:22
问题 I'm contributing to the Ruby gem koudoku and trying to get Travis CI to work. The gem was set up with Travis a few days ago but all builds are failing with this error message (example): Bundler could not find compatible versions for gem "rack": In Gemfile: rspec-rails (~> 2.14.0) ruby depends on actionpack (>= 3.0) ruby depends on rack (~> 1.2.1) ruby capybara (>= 0) ruby depends on rack (1.0.0) The offending lines in the gemspec are: s.add_development_dependency "rspec-rails", "~> 2.14.0" s

A new job in Travis-CI cannot get curl library

旧城冷巷雨未停 提交于 2019-12-12 17:21:07
问题 I have configured Travis-CI with many apt-get, and it worked perfect. But since this week, the apt-get fails and some libraries cannot be retrieved. I have not changed the code. How can I solve this problem: The library in question is curl. Working job (4 days ago): https://travis-ci.org/angoca/db2unit/jobs/47121134 Current job failing: https://travis-ci.org/angoca/db2unit/jobs/47634811 The error I am facing is: $ sudo apt-get install aria2 curl -y Reading package lists... Done Building

Travis.yml failing with minimalistic contents?

半腔热情 提交于 2019-12-12 11:06:12
问题 I have the current travis.yml on my Github: # see http://about.travis-ci.org/docs/user/languages/php/ for more hints language: php # list any PHP version you want to test against php: # aliased to a recent 5.4.x version - 5.4 # aliased to a recent 5.5.x version - 5.5 All my jobs keep failing, but with a minimalistic build, i Cannot see why it fails.. As Travis doesn't exactly have the best information.. Here is the last few chunks of my logs: Job 9.1: $ git clone --depth=50 --branch=master

Travis-CI fails on symbol lookup error, works fine elsewhere

耗尽温柔 提交于 2019-12-12 10:49:43
问题 I have a library (technically a Ruby extension) called NMatrix which is written in C and C++. It uses C++ templates to manage different types, e.g., Rational128 versus Rational64 . It also has RubyObject and Complex64 and Complex128 . I force these template versions to be built by creating some inside an object file -- in a function that is called from the library entry point. It works just fine in GCC 4.7 , but when I compile on Travis-CI, it encounters an undefined symbol error at run-time:

Configure gradle.properties android.enableAapt=false on travis yml file

人盡茶涼 提交于 2019-12-12 09:37:26
问题 In my android's gradle.properties I have the following: android.enableAapt2=false My gradle.properties is located in my ~/.gradle/gradle.properties in my local machine. I am wondering how I can add android.enableAapt=false to my yml file. I tried to add it under global but that didn't work there was no errors but in robolectric it needs to be set if you are using gradle:3.0.0-beta3 . language: android jdk: oraclejdk8 env: global: - ANDROID_TARGET=android-25 - ANDROID_ABI=armeabi-v7a - android

Run Coverity scan for every Travis pull request build

試著忘記壹切 提交于 2019-12-12 07:27:30
问题 I want to automate student assignment grading system as much as possible. Ideally these steps will be taken when submitting the assignment. Student forks my Github repository and modifies files Student pushes the local code to his repository and creates pull request Travis CI detects pull request and run Pull Request build If code builds successfully, Coverity runs static code analysis for the pull request Student gets build status from the Github pull request page I've successfully set

Is there any workaround for “session deleted because of page crash” Chrome error on Travis CI?

南楼画角 提交于 2019-12-12 04:52:46
问题 I'm using container-based infrastructure on Travis CI (so I can't use sudo) and I'm trying to run tests using Selenium (Protractor) on the latest Chrome stable. When I try to run the tests, I'm getting this error: session deleted because of page crash and all tests fail. I found that one of the possible issues might be too small /dev/shm , which seems to be common when running Chrome on docker (https://code.google.com/p/chromium/issues/detail?id=522853). It looks like there are some

subprocess.Popen: 'OSError: [Errno 2] No such file or directory' only on Linux

我们两清 提交于 2019-12-12 04:39:29
问题 This is not a duplicate of subprocess.Popen: 'OSError: [Errno 13] Permission denied' only on Linux as that problem occurred due to wrong permissions. That has been fixed and this is an entirely different problem. When my code (given below) executes on Windows (both my laptop and AppVeyor CI), it does what it's supposed to do. But on Linux (VM on TravisCI), it throws me a file not found error. I am executing in /home/travis/build/sayak-brm/espeak4py/ . ls -l outputs: $ ls -l total 48 -rw-rw-r-

Push to git master branch from Travis CI

不打扰是莪最后的温柔 提交于 2019-12-12 04:10:05
问题 I am switching from Jenkins to Travis CI. In Jenkins, I did not have to write a script to push my Java/android library to Git master branch. With Travis, all my research shows that I need to write a custom bash script to execute in after_success . this is my deploy.sh #!/bin/bash rev=$(git rev-parse --short HEAD) git config user.name "uname" git config user.password "password" git add . git commit -m "travis commit at ${rev}" git push origin master and my .travis.yml branches: only: -

Inconsistent results with Travis CI and tox

心已入冬 提交于 2019-12-12 03:19:08
问题 I have set up continuous integration for my open source project at Travis. tox seems to be having some problems with quotes in the commands, so I set up a temporary branch for debugging the problem. At this point I am encountering a very strange issue. The last 3 commits and their build status on Travis: Bla - build 32 passed eklzjfljkze - build 32 failed Revert "eklzjfljkze" - build 34 failed As the last commit reverts the one that caused the failure, I see no reason why build 34 shouldn't