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
2 answers

How to use Travis CI with some files in gitignore?

I have a Flask app that has its configurations in a file called settings.py. I've put this file in .gitignore because the project is in a public repo. Travis-CI was working before I added tests into my project even though settings.py was in…
MikaelM
  • 227
  • 4
  • 11
2
votes
2 answers

Travis CI with Android Lib - No compatible devices connected

I'm currently trying to get a travis.yml that works for Android 24 / build tools 24.0.3 and having some trouble. I have the following for my travis.yml: language: android sudo: required jdk: oraclejdk8 cache: directories: -…
isuPatches
  • 6,384
  • 2
  • 22
  • 30
2
votes
1 answer

Travis-CI and Android JUnit Tests

I am having a difficult time getting Travis-CI to run my unit tests. The following is my travis.yml code. Let me know if you need more information! language: android jdk: oraclejdk8 sudo: false android: components: - platform-tools -…
Sarah
  • 107
  • 1
  • 8
2
votes
1 answer

JUnit tests for writing to file pass locally but fail on Travis CI

The problem Me and my group members have been instructed by our teacher to implement a logger for our game. This logger should be well tested with JUnit and so we did. One problem we are dealing with for a while now is that all these tests pass…
Pascal
  • 305
  • 2
  • 4
  • 15
2
votes
2 answers

BrowserStack + Protractor + TravisCi and secure localhost server - configuration

Trying to have an e2e test to test my server and it's UI on TraviCI. I'm however not able to come up with the necessary configuration in order to run all the components and access seleniumServer on BrowserStack. I am able to get my session started,…
HIT_girl
  • 785
  • 7
  • 23
2
votes
2 answers

travis deployment Couldn't resolve host

I have setup travis-ci to deploy to azure website, travis use dpl for deployment, but I get unable to resolve host: fatal: unable to access…
Alvin
  • 8,219
  • 25
  • 96
  • 177
2
votes
2 answers

How to input heroku credentials in Travis Ruby on Rails

Am working Ruby on Rails site, and I have implemented Travis CI with it and pushed to to GitHub, so as to Test my build before pushing to Heroku. When Travis parsed my github source code, I get an error asking me to input my Heroku Credentials…
Afolabi Olaoluwa
  • 1,898
  • 3
  • 16
  • 37
2
votes
2 answers

Travis CI + Coverity scan with Gradle

I've successfully setup a project which uses Travis CI to for builds and tests. Now I'm trying to add Coverity Scan. I created a branch called coverity_scan and set it be used for coverity builds. After I push a commit to this branch I can see in…
Edd
  • 1,982
  • 2
  • 21
  • 29
2
votes
1 answer

subprocess.Popen: 'OSError: [Errno 13] Permission denied' only on Linux

Code and logs have changed a lot (due to a major rewrite) since the question was asked. 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…
sbrm1
  • 1,195
  • 3
  • 12
  • 25
2
votes
0 answers

What's the path to global node_modules folder in Travis CI

I need to pass the path for the node_modules global installation folder to the mink-zombie-driver, but I can't find anywhere in the docs what's the path for it. MinkExtension requires you to pass the node_modules folder in the configuration file for…
Christopher Francisco
  • 15,672
  • 28
  • 94
  • 206
2
votes
1 answer

Make Travis fail if the coverage % is not above a threshold (Ruby)

How can I make Travis CI build fail if my coverage report is not 100%? My .travis.yaml looks like this: language: ruby rvm: - 2.2.4 install: bundle install script: - rspec spec/features/* - coverage report --fail-under=100 But this is coming…
Vlad
  • 161
  • 1
  • 6
2
votes
1 answer

How to suppress part of FAKE output?

I have a library that I build with FAKE, pack, and push to NuGet. Works fine. Now, I want to do all that, including the "push" part, in continuous mode, via Travis CI. I know there are security concerns, but it seems that I can do this securely (at…
Fyodor Soikin
  • 78,590
  • 9
  • 125
  • 172
2
votes
0 answers

Travis CI build cordova android application

Is it possible to using Travis CI instead of PhoneGap build to build application and let someone else to download the APK? I'm using the following yml file.
2
votes
1 answer

travis-CI error after pull request

I've done my first pull request on github recently. The project i try to contribute to is written in python, and it uses tox and travis CI. When i look at github.com/author/project/pulls, i see "Error: The Travis CI build could not complete due to…
Rob
  • 65
  • 5
2
votes
0 answers

Travis CI Fails to install pods

I'm trying to get the Travis build to pass for a open source project, but to no luck: The sample project's Podfile looks like this: abstract_target 'Common' do #Swift 3 Pods pod 'BNRDeferred', :git =>…
Pierluigi Cifani
  • 224
  • 2
  • 14