travis-ci

Maven coveralls plugin

青春壹個敷衍的年華 提交于 2019-12-06 15:43:43
I'm using travis CI and coveralls for a project. I get the error Processing of input or output data failed: Report submission to Coveralls API failed with HTTP status 422: Unprocessable Entity (Couldn't find a repository matching this job.) . You can see the build there . My pom.xml : <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.6</version> <configuration> <outputDirectory>${basedir}/target</outputDirectory> <format>xml</format> <maxmem>256m</maxmem> <!-- aggregated reports for multi-module projects --> <aggregate>true</aggregate> <

travis-ci how to push to master branch

霸气de小男生 提交于 2019-12-06 14:15:30
I have a travis-ci project connected to Github that tries to update content in the Github repo and push them back to Github, both master and gh-page branches. However, although my travis-ci log files says everything is ok, I only see the gh-pages branch updated, but not the master branch. My travis.yml file is language: node_js node_js: stable language: python python: 3.6 # Travis-CI Caching cache: directories: - node_modules - pip # S: Build Lifecycle install: - npm install - npm install -g gulp - python -m pip install requests - python -m pip install bs4 - python -m pip install lxml before

How do I automatically deploy from Travis CI with the container-based infrastructure?

帅比萌擦擦* 提交于 2019-12-06 13:35:40
问题 When I use the Travis CI "container-based" infrastructure, I must have sudo: false set in my .travis.yml; but this appears to be incompatible with automatic deployment using, for example deploy: provider: hackage which causes my build to fail with Installing deploy dependencies sudo: must be setuid root How can I use automatic deployment from Travis CI with the container-based infrastructure? The final lines of the build log, starting with successful completion of the code build and test are:

travis.ci keeps on failing when running “bundle exec rake”

北慕城南 提交于 2019-12-06 13:33:52
问题 I am trying to get automated testing sorted out with Travis.ci. However, at the moment the build keeps on failing when trying to execute bundle exec rake . This is what I see... $ bundle exec rake rake aborted! Don't know how to build task 'default' /home/travis/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval' /home/travis/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>' (See full trace by running task with --trace) The command "bundle exec rake" exited with 1.

“…/auto/List/Util/Util.so: undefined symbol: PL_stack_sp at …/XSLoader.pm” only when running test suite with CGI::Test _and_ on Travis CI

一世执手 提交于 2019-12-06 13:23:19
I have a Perl module called CGI::Github::Webhook whose test suite works fine on Travis CI so far on the branch master . But since it's a module for writing CGI scripts, I wanted to test it with CGI::Test as this would be closer to real-life scenarios. But every Travis CI run in the branch cgi-test failed so far . Except for the runs with Perl 5.24 and above, every failed run contained these lines, just with different Perl version numbers in the paths: Attempt to reload List/Util.pm aborted. Compilation failed in require at /home/travis/perl5/perlbrew/perls/5.22.0/lib/site_perl/5.22.0/Sub

Problems with travis for C#

落花浮王杯 提交于 2019-12-06 13:14:19
Travis CI now supports C# (in beta). After try 8 different methods, I can't find a solution to my problem. I have an ASP MVC project, travis use mono and I know that I can't build in travis this kind of project script: - xbuild project.sln Ok no problem with this but I want to pass my tests, the best solution that I find is: language: csharp solution: OptionType.sln install: - sudo apt-get install mono-devel mono-gmcs nunit-console script: - nunit-console MSPSpain.Tests/bin/Debug/MSPSpain.Tests.dll but failed.. https://travis-ci.org/MSPSpain/Website/builds/43711017 936ProcessModel: Default

Running Redis on Travis CI

强颜欢笑 提交于 2019-12-06 12:58:55
I just included a Redis Store in my Express application and got it to work. I wanted to include this Redis Store in Travis CI for my code to keep working there. I read in the Travis Documentation that it is possible to start Redis, with the factory settings. In my project, I don't use the factory settings, I wrote my own redis.conf file which specifies the port and the password. So I added the following line to my .travis.yml file: services: - redis-server --port 6380 --requirepass 'secret' But this returns the following on Travis CI: $ sudo service redis-server\ --port\ 6380\ --requirepass\ \

calabash-android within travis

此生再无相见时 提交于 2019-12-06 12:04:51
I am trying to get calabash-android running within travis. calabash-android works fine within my machine without any problems. I have the following travis.yml: language: android jdk: oraclejdk8 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ - $HOME/.gradle/daemon - $HOME/.gradle/native env: global: # wait up to 10 minutes for adb to connect to emulator - ADB_INSTALL_TIMEOUT=20 - SLAVE_AAPT_TIMEOUT=40 android: components: - platform-tools - tools - build-tools-23.0.3 - android-23 - extra-android-support -

Travis-CI is unable to open file

丶灬走出姿态 提交于 2019-12-06 11:30:02
问题 I'm trying to build my iOS project, but travis-ci is printing following error message: /Users/travis/build/BilalReffas/Analyzer/Pods/Pods/Target Support Files/Pods-Analyzer/Pods-Analyzer.debug.xcconfig: unable to open file (in target "Analyzer" in project "Analyzer") (in target 'Analyzer') Of course I selected my scheme as shared. It's possible for me to build the project locally. I don't understand why travis is not finding the debug.xcconfig file. My Podfile: platform :ios, '10.0' target

How to test both Python and C++ in one .travis.yml without running the C++ multiple times?

放肆的年华 提交于 2019-12-06 07:55:58
https://github.com/travis-ci/travis-ci/issues/538 doesn't seem to really help. I have this .travis.yml for libais: language: python python: - "2.7" - "3.4" before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq install: - sudo apt-get install -qq gcc-4.8 g++-4.8 - CC=g++-4.8 python setup.py install script: - python setup.py test - (cd src && CC=gcc-4.8 CXX=g++-4.8 make -f Makefile-custom test) The last line of the script triggers the c++ testing. It's great that it runs the libais gunit C++ tests, but sadly, they get run 2x. Once for each python