Questions tagged [travis-ci]

For questions about the hosted continuous integration service.

Travis CI is a hosted continuous integration service for the open source community. It is integrated with GitHub and offers first class support for:

  • Android
  • C
  • C#
  • C++
  • Clojure
  • Crystal
  • D
  • Dart
  • Elixir
  • Elm
  • Erlang
  • F#
  • Generic
  • Go
  • Groovy
  • Haskell
  • Haxe
  • Java
  • JavaScript (with Node.js)
  • Julia
  • Minimal
  • Nix
  • Objective-C
  • Perl
  • Perl6
  • PHP
  • Python
  • R
  • Ruby
  • Rust
  • Scala
  • Smalltalk
  • Swift
  • Visual Basic

See the documentation for further information.

For support, please file any requests with the travis-ci GitHub issue tracker.

4084 questions
2
votes
1 answer

How do I find the network ip using docker and travis?

In my local setup, I can run ... docker run --name myapp -e HOST=$(docker-machine ip default) --user root myapp ... and then use $HOST to connect to any other container (e.g. one running mongodb). However, in Travis, docker-machine does not exist.…
Xiphias
  • 4,468
  • 4
  • 28
  • 51
2
votes
1 answer

calabash-android within travis

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…
2
votes
0 answers

How to fix Travis-CI [Composer\Exception\NoSslException] with PHP 5.3.3?

I have a project that I'm building and testing on travis-ci for 3 primary PHP environments that I deploy into (7.0, 5.5.9, and 5.3.3). This builds and tests perfectly fine in 7.0.8 and 5.5.9, but for 5.3.3 I get this error: …
Jeff Puckett
  • 37,464
  • 17
  • 118
  • 167
2
votes
1 answer

Travis CI can not find npm dependency referenced as url to Bitbucket git tag

I have a project hosted on Github and one of it's dependencies is hosted on Bitbucket. Both repositories are private, but we have access to them. I've recently added git tag for versioning, because build server on customer's site did not pick up…
David Votrubec
  • 3,968
  • 3
  • 33
  • 44
2
votes
1 answer

Multi-module maven dependency using repository, not local on Travis CI

I have a multi-module project in which one of the two submodules depends upon the other. This question implies that mvn install is supposed to take care of these dependencies. Everything is working fine at a local level on my machine (both inside…
Daniel Widdis
  • 8,424
  • 13
  • 41
  • 63
2
votes
0 answers

How does Travis CI work?

I'm using Tavis CI to build a cocoapod project. I'm not sure if build is the right word, because I'm not exactly sure what it is doing. This is what I believe, and please correct me where I'm wrong and fill in any blanks. I write a travis.yml file…
2
votes
2 answers

Build error: Reference PresentationCore could not be resolved

I have a WPF C# application hosted on GitHub attached to Travis. I configured my .travis-ci.yml this way: language: csharp solution: FaceDetection/FaceDetection.sln script: - xbuild /p:Configuration=Debug /p:Platform=x86…
Christian Klemm
  • 1,455
  • 5
  • 28
  • 49
2
votes
1 answer

Continuous deployment using travis and heroku - preserving some kind of state

The problem I'm currently in the process of setting up Travis to run our tests and deploy if the tests are successfull. Which is pretty straight forward, but I don't want to deploy when these conditions are met: - The time is between 07:00 and…
Allard Stijnman
  • 1,284
  • 11
  • 22
2
votes
0 answers

Travis build gcc fails include plugin header

I am trying to build a project with Travis. The Makefile has the following include: -I$(shell $(TARGET_CC) -print-file-name=plugin)/include Which was supposed to give the plugin directory for gcc. ${CC} -print-file-name=plugin plugin ${CC}…
Artem Oboturov
  • 4,344
  • 2
  • 30
  • 48
2
votes
2 answers

cache installation of deps and afterwards build in travis

Is it possible to separate the install deps and caching from the build of the source code? I have: sudo: required language: cpp matrix: include: - env: GCC_VERSION="4.9" os: linux dist: trusty compiler: gcc cache: …
Gabriel
  • 8,990
  • 6
  • 57
  • 101
2
votes
1 answer

"…/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

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…
Axel Beckert
  • 6,814
  • 1
  • 22
  • 23
2
votes
2 answers

Travis CI build fails on pre-TCI pull requests: "Could not find .travis.yml"

I recently added automatic testing of pull requests via Travis CI to an open source Android project on GitHub. The main branch passes all build tests. I went through some outstanding pull requests, closing and opening them to force builds. The build…
nrlakin
  • 5,234
  • 3
  • 16
  • 27
2
votes
2 answers

Using ENV vars in notification configuration

I am using travis-ci to test my project Smoke (https://github.com/phmLabs/Smoke). When the test ran I want to report the result to a different system via webhook. The problem is that the webhook url contains a secret key I don't want to put inside…
Nils Langner
  • 313
  • 2
  • 9
2
votes
1 answer

What are the best practices related to managing keys used in git checkout for ansible?

Currently I am writing a playbook to deploy my Django application. There is nothing particularly revolutionary or secret sauce about it so I decided to open source it. The only thing I want to keep secret is of course the ssh key I use for…
Muhammad Lukman Low
  • 8,177
  • 11
  • 44
  • 54
2
votes
0 answers

Angular 2 end to end tests with Protractor ci

I've made a project using the angular2-seed. I wanted to write some e2e tests for it. Successfully got them running locally, however with e2e testing in Travis-C there is an issue that it cannot find the elements the test uses. For example I have a…
Ruben
  • 469
  • 1
  • 6
  • 13
1 2 3
99
100