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

Specify valgrind options to R package on Travis CI

I am trying to build an R package with c++ code on Travis CI and checking it with valgrind by running R CMD check with the --use-valgrind option. In the R extensions manual it says to either provide a ~/.valgrindrc file with the required options or…
Johan Larsson
  • 3,496
  • 18
  • 34
2
votes
1 answer

Travis CI and pytest with multiple python versions

I have the following in .travis.yml: language: python python: - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "3.6-dev" # 3.6 development branch - "nightly" # currently points to 3.7-dev # command to run tests script: pytest The…
Pär Berge
  • 196
  • 12
2
votes
1 answer

Can I make ALIAS for Travis YAML configuration command? ... "travis encrypt GITHUB_TOKEN=****** --add"?

I have a Personal Access Token from Github that I use in many of my projects. Since the token has read/write ability for all my repos, it's important I use the Travis Command Line Tool to encrypt the GITHUB_TOKENand place it in my .travis.yml as a…
Oneezy
  • 4,881
  • 7
  • 44
  • 73
2
votes
2 answers

Travis build fails because of lint saying that SDK platform-tools version is too old

Hi I have an android app I build on Travis CI. Unfortunately the build fails, because lint says that the platform sdk tools are too old: The SDK platform-tools version (23.0.1) is too old to check APIs compiled with API 25; please update The…
sockeqwe
  • 15,574
  • 24
  • 88
  • 144
2
votes
1 answer

How to do automatic releases/nightlies of C++ software with GitHub?

What I'm looking for is something that builds C++ code every night or on every commit, and then, crucially, runs some commands to create a zip or a package which can then be added to a "Release" on GitHub. I know there's travis-CI, which…
Ela782
  • 5,041
  • 5
  • 53
  • 66
2
votes
0 answers

How to check all individual commits in Travis CI for a Github project

We are using Travis CI connected to a Github project and it runs tests for the latest commit of each pushed branch. I would like to also check the previous commits between the tip of master and the tip of the checked branch. Rationale: I only want…
Pavel Šimerda
  • 5,783
  • 1
  • 31
  • 31
2
votes
2 answers

Using Travis CI with Swift 3.0 & CocoaPods

I am trying out TravisCI since I got it in my GitHub Education Pack. I am doing TDD on iOS 10.1. I could not yet figure out how to configure TravisCI for Swift 3.0, iOS 10.1 and using CocoaPods. I managed to link TravisCI with my Repository. But…
smnk
  • 471
  • 1
  • 6
  • 25
2
votes
1 answer

travis setup heroku command yields repository not known error

I am working through the Raild 4 In Action book. On Chapter 13: Deployment, page 464 it is having you do the final configuration for a deployment hook for travis to push to your heroku app upon passing specs. The book already had me do the…
Neil
  • 4,578
  • 14
  • 70
  • 155
2
votes
1 answer

There was an error processing coverage reports in codecov

I'm using kotlin, gradle, travis ci and codecov. The build seems to fail at codecov https://codecov.io/gh/config4k/config4k/commit/01ac813e057b3de25274b03c07ab39f348d5074d build.gradle : buildscript { ext.kotlin_version = '1.0.4' …
mmorihiro
  • 857
  • 2
  • 13
  • 17
2
votes
0 answers

How do you deploy google app engine with travis-ci, and run tests with py.test?

I have an app that is tested in travis-ci using py.test. The idea is that it will get pushed to travis-ci which downloads and installs the required modules in a lib folder for GAE to run properly. This is what my travis file looks like: language:…
2
votes
1 answer

Export travis log after build

I am using Travis-ci for building my programs but I needed its log for some processing. So is there a way to export Travis-ci logs after every build in the text file?
rank
  • 83
  • 7
2
votes
0 answers

Add encrypted variables to travis.yml and push to open source project

I have been contributing to open source project & in one of the issues, I have to upload a folder to AWS S3. I have created an amazon aws account and everything is working. But I am not able to find a way to correctly encrypt the credentials in the…
Abhishek Rastogi
  • 189
  • 1
  • 10
2
votes
1 answer

Why do I need to explicitly run Rails migrations under Ubuntu 12.04 Precise?

I'm building a Rails 5 app and I'm using Rspec for tests. I've used Travis several times in the past for Rails apps, but they were using MiniTest and Rails 4. I can run tests locally: joenyland@MacBook-Pro ~/Code/acrm $ rake db:drop Dropped database…
2
votes
0 answers

How to CI with Travis, Codedeploy and dockerized Database

I'm currently developing a node.js project based on docker-compose, which handles the app itself and a mongo database. In the database is an initial user stored. I've got an idea how it should work initially: publish repo incl. the initial db data…
fheck
  • 280
  • 1
  • 5
  • 15
2
votes
1 answer

Debugging gradle task compileReleaseJavaWithJavac

I'm writing a custom gradle plugin which generated code and injects some new gradle tasks. My problem is currently that on gradlew check the task compileReleaseJavaWithJavac or compileDebugJavaWithJavac fails. On windows the task runs fine, on Linux…
rekire
  • 47,260
  • 30
  • 167
  • 264