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

Travis build failing

I am trying to build a cocoapod with xcode8 on travis: https://travis-ci.org/xtrinch/MRCountryPicker/builds/160232165 $ pod lib lint ERROR | [iOS] unknown: Encountered an unknown error (Must be in the root of the repo…
xtrinch
  • 2,232
  • 1
  • 24
  • 46
2
votes
1 answer

python subprocess Popen behaving differently on local and remote system

I am using django and sending a build to travis-ci which is failing the build on my tests. The line that is in question is in this function... from subprocess import Popen, PIPE def make_mp3(path, blob): process = Popen( ['lame', '-',…
Joff
  • 11,247
  • 16
  • 60
  • 103
2
votes
0 answers

travic-ci build failing with django project

I am trying to setup travis-ci for the first time with a django project of mine and I am getting this trace in the travis output... 0.17s$ python manage.py migrate Traceback (most recent call last): File "manage.py", line 13, in
Joff
  • 11,247
  • 16
  • 60
  • 103
2
votes
1 answer

travis script deployment timeout

I have the following deploy section in my .travis.yml deploy: provider: script script: bash scripts/deploy.sh skip_cleanup: true on: all_branches: true The problem is that bash scripts/deploy.sh can take anywhere between 7 and 10…
Macs Dickinson
  • 967
  • 1
  • 6
  • 14
2
votes
1 answer

django_content_type error in django seo2

I am working on a Django(1.8) project. I am trying to implement django-seo2. Integrated Travis CI on GitHub for continuous integration. I keep getting the following error on Travis: ProgrammingError: relation "django_content_type" does not exist On…
abhyuday
  • 126
  • 1
  • 9
2
votes
1 answer

How to implement code coverage into github android project (Travis CI, codecov)

I am now struggling with adding code coverage to my Android test project, can someone help? https://github.com/zisean/CarbonContact-SCC-Group1 CI: Travis
ZiSean
  • 127
  • 3
  • 9
2
votes
1 answer

Uncaught SyntaxError: Use of const in strict mode | Travis-ci karma test with chromium throws

I'm trying to get my karma tests running in a travis-ci build. I figured out how to get chromium going, but now it throws an error. However, I do not experience this error locally, so I assume it must have something to do with with the travis-ci…
oxenfree
  • 516
  • 6
  • 20
2
votes
1 answer

gzip compressed assets on S3 with Travis?

We're trying to deploy minified and compressed js and css to s3 with travis. Gulp creates a file main.bundle.js.gz which is properly uploaded to s3, but the site shows me a 404 on main.bundle.js. Travis doesn't seem to give much option except…
Patrick
  • 7,903
  • 11
  • 52
  • 87
2
votes
1 answer

Travis CI encodes ü as ü

I'm writing some Unicode strings to HTML in Python. The way I do it is to use Unicode internally and only encode when output. So something like: with open(filename, 'w') as f: f.write(s.encode("utf-8")) This works just as expect on my local…
qweruiop
  • 3,156
  • 6
  • 31
  • 55
2
votes
1 answer

The SDK directory does not exist Travis CI

I have this .travis.yml file, but I am constantly getting this error when building: * What went wrong: A problem occurred configuring project ':app'. > The SDK directory '/home/travis/build/Me/MyProject/C:\Users\Me\AppData\Local\Android\Sdk' does…
Jason
  • 1,658
  • 3
  • 20
  • 51
2
votes
0 answers

How to configure CakePHP in Travis-Ci

I have a CakePHP project where I also integrated Travis-CI to start automated testing. Now my tests look something like this:
Janet Do
  • 31
  • 2
2
votes
2 answers

Ginkgo does not provide coverage in Travis CI

I have a GO project which I build in Travis CI. I have implemented a few tests with Ginkgo, and I am getting code coverage when I run it locally, however I get no coverage when I run it on Travis. My .travis.yml language: go # safelist branches: …
morras
  • 1,102
  • 9
  • 24
2
votes
1 answer

Travis-ci failed to find Build Tools revision 23.0.3

I builded my library Android build-tools version to 23.0.3 in travis-ci but building is failure like below FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > failed to find Build Tools…
emrekose26
  • 683
  • 1
  • 8
  • 21
2
votes
0 answers

Adding encrypted environment variables to Travis via the project settings vs. .travis.yml

The travis Ruby gem command has two commands, travis encrypt, and travis encrypt-file. travis encrypt encrypts an environment variable, and spits out an encrypted value to put in env/global/secure in the .travis.yml file. travis encrypt-file…
asmeurer
  • 86,894
  • 26
  • 169
  • 240
2
votes
0 answers

SyntaxError in plugin 'gulp-mocha' Unexpected token =

I am getting the following error in Travis-ci when using Node 4.3.2: SyntaxError in plugin 'gulp-mocha' Unexpected token = Everything works when using Node 6, but not 4.3.2. Here is the stack trace: [12:05:11] Starting 'build'... [12:05:11]…
Daryn
  • 3,394
  • 5
  • 30
  • 41
1 2 3
99
100