FAQ Database Discussion Community


Does Travis CI export an environment variable containing the GitHub user name?

github,travis-ci
I'd like to get the GitHub user / organization name within my .travis.yml file. That is, if my repository containing the .travis.yml is at https://github.com/sschuberth/karn, I'd like to get sschuberth at build time. From looking at the docs it seems there's not such variable yet, or am I missing something?...

SShpass not allowed with Travis CI

ssh,continuous-integration,travis-ci,continuous-deployment
Context I have an application in which, I m using unit tests and I need to continuous deliver this. I chose to use github + travis + docker. My Docker container is an Ubuntu 12.04 with openSSL that I cant connect from outside, and I dont have any problem with...

Possible to run bower & npm on Travis-initiated builds?

javascript,maven,npm,bower,travis-ci
I have a project that I'm hosting at GitHub (https://github.com/njacobs5074/InOutBoard) that runs the npm and bower commands from Maven as part of the build. This is done to ensure that the proper JavaScript packages are installed - my project is a Java web app with a JavaScript front-end. Obviously this...

Automatic merge branch into master on sucessful build in travis

git,github,merge,travis-ci
I've trying to do a setup, where I use Travis CI (http://www.travis-ci.org) to build and test my program each time I commit to GitHub. My GitHub setup is to have a master and a slave/test branch, which I commit to before merging into master. However, as of right now I'm...

Travis CI is not case-sensitive by default?

filesystems,phpunit,composer-php,travis-ci,case-sensitive
I have a php project that has composer dependencies which are inherently tested in the code path of my unit tests. Here's my sample code: <?php // where FooBar is a composer package but I'm purposely typing it incorrectly here use \fooBaR public function appendNameToWords(array $words, $name) { $start =...

Haxe munit with Travis

travis-ci,haxe,munit
I'm trying to setup Travis to run munit tests for a Haxe library. It installs the dependencies but fails when it tries to run the first test. Any suggestions would be appreciated. Massive Unit - Copyright 2015 Massive Interactive. Version 2.1.0 haxe -main TestMain -lib munit -lib hamcrest -cp quick-haxe...

Travis gives me Redis connection to localhost:6379 failed - connect ECONNREFUSED

node.js,redis,travis-ci
I'm trying to test a node.js module using Travis, but all I get is "Redis connection to localhost:6379 failed - connect ECONNREFUSED". Can someone please tell me what am I doing wrong? The latest build is at: https://travis-ci.org/luiselizondo/config-persistence/builds/65187913 Thanks...

Django app failing in Travis CI: server not running on localhost

django,postgresql,travis-ci
I am testing a sample Django app in Travis CI using a Postgres database. I wrote some basic tests for models that passed successfully on my development environment. When I push the code to Travis the following error occurs: travis link : https://travis-ci.org/Navajyoth/django-travis/jobs/64052563 github link : https://github.com/Navajyoth/django-travis Traceback (most recent...

Travis: “Got an error creating the test database: permission denied to create database”

django,travis-ci
This is my travis.yml file: language: python python: - "2.7" addons: postgresql: "9.3" env: - SECRET_KEY=test DB_NAME=dbtest DB_USER=test DB_PASS=test before_install: - export DJANGO_SETTINGS_MODULE=settings.local - export PYTHONPATH=$HOME/builds/me/myrepo install: - pip install -r requirements.txt before_script: - psql -U postgres -c 'CREATE DATABASE dbtest;' - psql -U postgres -c "CREATE EXTENSION postgis" -d...

How to build Rust examples without running

rust,travis-ci,rust-cargo
Is there any way to build Rust examples without running them? Specifically to test examples build successfully using Travis CI.

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

python,c++,travis-ci
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...

'Angular could not be found' when integrating Travis/Sauce Labs

angularjs,protractor,travis-ci,saucelabs
I'm working to get Travis CI to run Protractor tests using Sauce Labs. The tunneling works fine, and my Express server clearly starts and stays up at http://localhost:9000, but my Protractor tests quickly fail with the error Error: Angular could not be found on the page http://localhost:9000/ : retries looking...

How to install uglify-js on Travis CI?

travis-ci,uglifyjs
My build is failing on Travis CI because uglify-js won't install. The relevant parts of the output log are below. I am installing nodejs and npm because this is a language: cpp build not a language: node_js build (its a C++ library with bindings to other languages, including some client...

Can I use travis-ci to test against specific (including minor number) version of python?

python,python-2.7,testing,continuous-integration,travis-ci
If you have this in your .travis.yml file: language: python python: - 2.7 Your code will be tested against python 2.7.9: $ source ~/virtualenv/python2.7/bin/activate $ python --version Python 2.7.9 But Python 2.7.9 breaks urllib3 (https://github.com/shazow/urllib3/issues/482) and gevent (https://github.com/gevent/gevent/issues/477). I guess this is why the latest Ubuntu still ships with Python...

Is It possible to use Linux bridges on Travis-CI?

travis-ci
It seem the OpenVZ setup doesn't allow Linux bridges: $ modprobe bridge FATAL: Could not load /lib/modules/2.6.32-042stab090.5/modules.dep: No such file or directory The command "modprobe bridge" failed and exited with 1 during . Specifically, trying to use Libvirt, I get: Error while activating network: Call to virNetworkCreate failed: Unable to...

how to specify external software requirements with conda/meta.yaml in Python?

python,travis-ci,anaconda,conda
I am writing a meta.yaml file for a python package to be used in conda packages in a way that works with CI systems. how can i specify external software requirements for the package? meaning software that is not a python library but is required for the package unit tests...

Travis-CI badge not updating

travis-ci
I have retriggered a failed Travis-CI build for a public open source project yesterday. The build succeeded, however, the badge still shows "build failing", both on GitHub and on Travis-CI. Is there anything I can do to refresh it?...

Link badge to branch build history

travis-ci
When I'm looking for a badge with status for given branch I'm using branch parameter in URL. I'd like to do the same with the link to the latest build or build history of a given branch. If this is not possible currently I'd be more than happy having such...

Travis CI does not export env valriables

travis-ci
I have a project here. This project I forked in my own private repository. They both have absolutely the same .travis.yml files (here and here). The problem is that when Travis runs the build process from my private repository, it successfully exports the env variables. However, when it runs the...

Travis build - Unable to retrieve secret key from key ring file as it does not exist

android,git,encryption,gradle,travis-ci
I currently use Travis CI for my open source project. All went well till I tried to upload an artifact to Maven Central staging repository once the travis build was successful. Please find the steps i followed below: Added a initiate-publish.sh script file which will publish to Maven central after...

Laravel 5 .env.travis file is ignored

travis-ci,laravel-5
I created a new file for Travis CI environment that looks like this .env.travis APP_ENV=travis APP_DEBUG=true APP_KEY=SomeRandomString DB_HOST=127.0.0.1 DB_DATABASE=travis DB_USERNAME=travis DB_PASSWORD= CACHE_DRIVER=file SESSION_DRIVER=file And this env file seems to be ignored. I tested with creating a new console class with this content public function fire() { // echo env('APP_ENV') ."\n";...

How to allow Travis-CI access to a GitHub organisation with restricted applications access?

github,travis-ci
If I try to click the “flip switch” next to a new repository in my Travis account, the flip switches but the hooks are never configured and I cannot trigger a build in Travis. If I look at the console, I can read the following error: XMLHttpRequest cannot load https://api.travis-ci.org/hooks/123456....

How to build scikit-image in travis-ci?

python,travis-ci,scikit-image
I am trying to build a script that makes use of scikit-image on Travis-ci. It complains that six is not up to date. Just to be sure, I tried to replicate the .travis.yml of the scikit-image project on github, but it did nothing to change the situation. I also tried...

Travis CI: Cannot find module 'underscore'

node.js,travis-ci
One of my Github repositories is hooked up to Travis CI so that anytime I make a PR, Travis runs two tests. These include continuous-integration/travis-ci/push and continuous-integration/travis-ci/pr. The second one always passes, but continuous-integration/travis-ci/push fails every time with the message: Cannot find module 'underscore' Any idea what might be the...

travis-ci : error during the build (No such file or directory)

jekyll,travis-ci
I'm having a problem trying to test my build on travis-ci for my jekyll app. One of the plugins generates a json containing informations that my app can reach for a search tool. The build command works fine on my computer : bundle exec jekyll build --source octopress Witch indexes...

Detect PHP version in Travis

travis-ci
In my Travis file I have several PHP versions and a script entry like this: php: - 5.6 - 5.5 - 5.4 - 5.3 script: - export CFLAGS="-Wno-deprecated-declarations -Wdeclaration-after-statement -Werror" - phpize #and lots of other stuff here. - make I want to run the export CFLAGS line only when...

Travis-CI fails to install composer deps

php,composer-php,travis-ci
Travis-CI start to fail on installing composer deps with next error: [InvalidArgumentException] Package ext-ssh2-0.12.0.0 must have a source or dist specified https://travis-ci.org/deployphp/deployer/jobs/62059967 Here is composer.json. Locally everything good. Why Travis-CI fails?...

Travis-CI Auto-Tag Build for GitHub Release

github,travis-ci
I have been attempting to have Travis-CI automatically post its build product on GitHub Releases whenever a commit is pushed to [master]. Unfortunately, GitHub Releases requires a tag to release with. As a solution, I attempted to have Travis automatically generate and apply a tag to the commit. However, every...

Build status picture stays at “build unknown”

travis-ci
Even if the builds are passing on Travis, the Build Status picture seems to have stopped changing. It still says "build unknown". My .travis.yml contains: language: node_js node_js: - "0.12" - "0.11" - "0.10" - "iojs-v2.1.0" - "iojs-v1.0.4" services: - mongodb What's the problem?...

R Package checking package dependencies ERROR in Travis-ci

r,travis-ci,devtools
My package passes local tests with devtools::check(), but fails to build with Travis (https://travis-ci.org/mjockers/syuzhet). Travis reports a "checking package dependencies ... ERROR" because the openNLP Package is required but not available. What is the trick to making the package available to Travis? Package is here: https://github.com/mjockers/syuzhet

Where is the JDK in TravisCI?

java,travis-ci
When starting a TravisCI build I get: Java home: /usr/lib/jvm/java-8-oracle/jre I need JAVA_HOME to point to the JDK instead. Can I do this somehow? These are the only Java related lines in my .travis.yml: language: java jdk: - oraclejdk8 Thanks....

How to deploy a Java web application with Travis CI to an OpenShift WildFly server?

continuous-integration,openshift,travis-ci,java-ee-7,wildfly-8
I want to deploy my web app from GitHub with Travis CI to my WildFly application server on OpenShift. I followed the How to Build and Deploy OpenShift Java Projects using Travis CI tutorial but my index.html page from my Java EE 7 web app does not show up. Instead...

When will travis-ci support ghc 7.10?

haskell,travis-ci
I'd like to use travis-ci on my Haskell projects, but they require the latest version of GHC.

Travis-ci boost log compilation with biicode time-out

boost,travis-ci,boost-log,biicode
I am using travis-ci and biicode to build my project who is depending on boost log. But boost log times are longer than 10 min so I get this message: No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with...

Error in check_call() subprocess, executing 'mv' unix command: “Syntax error: '(' unexpected”

python,bash,shell,sh,travis-ci
I'm making a python script for Travis CI. .travis.yml ... script: - support/travis-build.py ... The python file travis-build.py is something like this: #!/usr/bin/env python from subprocess import check_call ... check_call(r"mv !(my_project|cmake-3.0.2-Darwin64-universal) ./my_project/final_folder", shell=True) ... When Travis building achieves that line, I'm getting an error: /bin/sh: 1: Syntax error: "(" unexpected...

Is there a travis ci environment variable to get the current ruby version to be used for the test?

ruby,travis-ci
in my gemfile, I have: ruby ENV['RUBY_VERSION'] || '2.2.0' RUBY_VERSION is doesn't exist in travis, as I get an error when travis runs saying that it can't run because the environment is set up with one version of ruby, and the gemfile specifies another. the error: Your Ruby version is...

Can't build go project in travis

go,travis-ci,aws-sdk
I started to create a very light weight message broker to practice go, travis and some aws services all in one project. My current problem is that I can build, run and test my develop branch on my local machine however when travis attempts to build it I get a...

I've got a CPython C++ module with C++11 code, but I can't seem to build on travis-ci

python,c++11,travis-ci
This project work fine on my local Ubuntu 12.04 and Mac OSX 10.10 (with fink python) machines. I can't seem to figure out how to configure the .travis.yml to get the .cpp files to build with g++-4.8 (4.9 or 5.x) would be fine too. Project: https://github.com/schwehr/libais My most recent failed...

Provide alternate PyPI URL for Travis CI to install dependencies from?

python,travis-ci
I want to setup Travis CI so that it can find Python dependencies in our own PyPI server. I know I can put the --extra-index-url option into the requirements.txt file, but I would have rather not hardcoded the PyPI URL in the requirements file, but rather left requirements.txt generic and...

Travis CI is faling to run tests with **/*_test.rb pattern

ruby,rspec,travis-ci,minitest
My micro Ruby project tests works on my machine, on private VM, but fails on Travis CI bulid Project uses both rspec (+rspec-given) and minitest Full trace here: https://travis-ci.org/equivalent/code_katas/jobs/61321482 $ bundle exec rake MiniTest::Unit::TestCase is now Minitest::Test. From /home/travis/.rvm/rubies/ruby 2.1.4/lib/ruby/2.1.0/test/unit/testcase.rb:8:in `<module:Unit>' /home/travis/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/test/unit.rb:676:in `<class:Runner>': undefined method `_run_suite' for class `Test::Unit::Runner'...

Configure Travis CI for MySQL on Ruby on Rails app

ruby-on-rails,ruby,travis-ci
I'm trying to configure Travis CI build for my Ruby on Rails project on GitHub, however the MySQL configuration is not working. What is wrong with my config? .travis.yml language: ruby before_script: - mysql -e 'create database simple_cms_test;' rvm: - 2.1 database.yml default: &default adapter: mysql2 encoding: utf8 pool: 5...

How to cross-compile with MinGW on Linux for Windows?

linux,mingw,qt5,cross-compiling,travis-ci
I'm trying to compile a Qt5 application for Windows on Linux with MinGW. I'm using Travis-CI to get continuous builds of two windows executables (win32, win64). I've set up a build matrix, which contains the definition of the different MinGW dependencies. The before-install section defines the Qt, MinGW and gcc...

How to use .travis.yml to cancel a Travis build

travis-ci
For a project certain preconditions have to met before a CI build makes sense. Not all of them can be ensured prior to commit. Hence, to safe resources I'd like to evaluate those preconditions in .travis.yml (i.e. using shell commands) and cancel the Travis build if not met. I don't...

Can I prevent a git push if Travis fails?

github,travis-ci
I have integrated my GitHub repo with Travis. Currently, I can run git push origin master, and then see a Travis build error a few minutes later, meaning I have a broken master build. Is there any way I can stop git accepting the push if Travis fails to run?...

Travis + Openshift Not deploying to openshift

node.js,continuous-integration,openshift,travis-ci
We are having issues with being able to deploy to openshift. The deployment process runs but then doesn't actually deploy any new code to our gears. Here is my travis file: language: node_js node_js: - '0.10' before_script: - npm install -g bower grunt-cli - gem install sass - bower install...

Using Travis with R and rJava

r,travis-ci,rjava
I have an R package which depends on rJava. I am using the R support for travis language: r sudo: required warnings_are_errors: true r_github_packages: - keboola/redshift-r-client But it fails with error: Error : .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load...

Travis CI build when repository is first added

github,travis-ci
Is it possible to trigger a build when a forked repository is first added to Travis CI? I just forked it and want to test the build before I start modifying the code. I know I can restart an existing build as described here, but when a repository is first...

Skipping parts of a Travis job if building from a fork

environment-variables,travis-ci
I've been writing some shell tasks that can't run unless there are secure environment variables present in a Travis CI PR build. There is an auth token that must be present to push some information up about the build, so for builds originating from forks, I'd like to simply skip...

OpenSSL::PKey::RSAError: Neither PUB key nor PRIV key: not enough data on travis-ci

ruby,travis-ci
I'm making use of the google/api_client library in ruby. My code works fine in development and local test, but not so well on Travis-CI. I'm storing my private key as a multi-line string both locally and on Travis. My code fails here: require "google/api_client" class GoogleCalendarAdapter def key OpenSSL::PKey::RSA.new(ENV["GOOGLE_P12_PEM"], "notasecret")...

Usage of environment variable of Travis CI in maven test

java,maven,github,travis-ci
I have one environmental variable 'password' which is added to settings of my travis repo. I need to add this to my travis(instead of my maven file in github) because it cannot be shared to public. Now, I need to use the password in my maven test execution. without travis,...

Travis CI showing an old build instead the last one

travis-ci
The last commit was built successfully, but Travis CI is showing an old build that failed. The "current" build (#6) The last build (#7) So the status of the repository is red instead green. Why is Travis CI selecting my #6 build as the "current" instead the last one (#7)?...

Travis CI deploy JAR to Github master

github,deployment,travis-ci
Refs: http://docs.travis-ci.com/user/deployment/ and http://docs.travis-ci.com/user/deployment/releases/ I'm tring to deploy my JAR file to Github, but I don't want to create a tag every time. I know it is not the correct behaviour, but I want to do this way if possible. Building process is running fine, but when I use this...

Using gcloud on Travis CI

google-app-engine,continuous-integration,travis-ci,gcloud,service-accounts
I have gcloud installed and working and a service account gets also activated. I run the following and get a success(?): $ gcloud auth activate-service-account "${GAE_CLIENT_ACCOUNT}" --key-file "${GAE_CLIENT_KEY_JSON_FILE}" Activated service account credentials for: [[email protected]] Then I run this: $ gcloud preview app deploy app.yaml --project "${GAE_PROJECT_ID}" --quiet --version "${GAE_PROJECT_VERSION}" You...

NoClassDefFoundError when trying to test Android app with Gradle, Robolectric and Travis CI

android,gradle,robolectric,travis-ci
I am always running into NoClassDefFoundError when using Travis CI to test an Android application with Robolectric and Gradle. All tests pass in Android Studio. So I guess it's a Travis specific configuration issue. Any experience in running Robolectric tests with Gradle and Travis? I've the following .travis.yml: language: android...

Recreate Similar Travis CI Console Log Interface

css,ember.js,travis-ci
The first time I saw the Travis CI live updating build console log, I was, I'll admit, nerdily impressed. And I know with some very time consuming CSS styling and JS coding, I could probably get something half as nice. But, my question is, are there any libraries out there...

What is the best practice to use keystores to sign release version of an Android app on Travis CI?

android,continuous-integration,travis-ci
I've been using Travis CI to build my Android app. I am signing it in the debug builds with a debug.keystore which I pushed to public repository But I want to build the release build and upload them to Google Play Store using this gradle plugin. This process needs a...

Create ANT script to build on Tavis-CI and run JUnit tests on commit

java,git,ant,junit,travis-ci
I am developing a very simple application using Java, and using JUnit to test the application. I need to be able to create an ANT script as well as a .travis.yml file so that my project can 1) build on Travis, and 2) Automatically run the JUnit tests on each...

Invalid syntax while running test on Travis

python,python-3.x,travis-ci
I'm having a problem with Travis on every commit. My tests work on local but on Travis I get this error: Traceback (most recent call last): File "/opt/python/3.2.5/lib/python3.2/unittest/case.py", line 370, in _executeTestPart function() File "/opt/python/3.2.5/lib/python3.2/unittest/loader.py", line 32, in testFailure raise exception ImportError: Failed to import test module: test.test_parser Traceback (most...

Travis CI, Atoum and Coveralls for a PHP project

php,travis-ci,coveralls
Fairly new to the CI game. I'm trying to get Travis CI and Coveralls working together and having a bit of trouble with it. The project in question is written in PHP and being tested with Atoum. My current .travis.yml file contains the following and currently all builds are passing:...

How to run management command in test file on Travis?

django,travis-ci
In one of my test files I call a Django management command: def setUpModule(): management.call_command('loaddata', 'frontend/fixtures/chemicals.json', verbosity=0) management.call_command('create_indexes_and_matviews', db_name, db_user, db_pass, verbosity=2) This test runs fine when I run it locally with manage.py test. However, on Travis I get this error: ====================================================================== ERROR: setUpModule (frontend.tests.test_api_views)...

Travis-CI - add another task to the sbt command

scala,sbt,travis-ci
I read this: By default, Travis CI will use sbt ++$TRAVIS_SCALA_VERSION test to run your test suite. This can be overridden as described in the general build configuration guide. But that link gives kilobytes and kilobytes of text that I don't grok. In two sentences; how to make Travis CI...

Travis CI GitHub integration not updating build status?

github,travis-ci
The Travis-CI build for this GitHub pull request failed due to a problem installing a dependency. After updating it and trying again, the build seemed to pass. However, the build status indicator displayed inline on GitHub is still reporting a failed build. Does anybody know why, or what can be...

How can I run a custom version of dpl on Travis CI?

rubygems,travis-ci
Travis-CI uses the dpl deploy tool to deploy your application. I've made a fork of the repo which includes a number of improvements concerning deploying to AWS. In the before deploy step, I clone the repo and build them gem. I've found that using edge: local under the deploy section...

Android tests fail on Travis with ShellCommandUnresponsiveException

android,travis-ci
We're seeing a lot of build failures on the first and even second execution of pull requests for our Android project on Travis. However, if we restart the exact same build enough times it eventually passes. Here's what the error looks like on failures: :onebusaway-android:connectedAndroidTest 09:48:14 E/Device: Error during shell...

PHPunit no tests execute on Travis CI

php,phpunit,composer-php,travis-ci
I'm been following a PHPUnit tutorial for the first time and my tests run fine locally. However, when running my tests on Travis CI, no tests are executed and my build exits with 0. My directory structure and full code can be seen on the repo. Build log from Travis...

ImportError: No module named libxml2 whithin Travis build

python,libxml2,travis-ci
I know this question has been asked before, but my problem is within travis build. I have installed all the dependencies listed in the documentation, Check my travis configuration. language: python python: - "2.7" install: - pip install -r requirements.txt - pip install PyXmlSec --allow-external PyXMLSec --allow-insecure PyXMLSec - pip...

Tell Travis to skip a test, but continue to include it in my main test suite?

django,travis-ci
I am using Django 1.8 and I have a management command that geocodes some items in my database, which requires an internet connection. I have written a test for this management command. However, the test runs the script, so it also requires an internet connection. After pushing the test to...

Travis CI: The command “bundle exec rake” exited with 1

ruby-on-rails-4,rake,travis-ci
I am having a problem with my Travis build where the build fails with the error The command "bundle exec rake" exited with 1. Here is the build log from Travis. Here is a link to the GitHub repo. I've tried adding require 'bundler' to my Rakefile as suggested by...

How to test a front-end JavaScript library and integrate with Travis?

javascript,integration-testing,frontend,travis-ci
I have already experimented testing NodeJS libraries using Jasmine or Mocha, but I don't know how to test front-end projects. I have found tutorials online, but everything includes a task manager in the workflow and I would like to know how to do this without one. I found the following...

Git tag name as version in Go via Travis-CI

github,go,makefile,travis-ci
Essentially what I want to do is embed the git tag name (from a github release) to a version string within my GO code. If I use this code; package main import ( "flag" "fmt" ) var version string func main() { var verFlag bool flag.BoolVar(&verFlag, "version", false, "Returns the...

Compile C extension During Travis CI Elixir Build

erlang,travis-ci,elixir,rebar
https://travis-ci.org/mmmries/sqlitex/builds/51889563#L96 I'm trying to setup Travis CI integration for my sqlite Elixir project. Currently the build is failing when trying to compile the C extension which is part of the esqlite dependency. The error message is coming back with c_src/esqlite3_nif.o: file not recognized: File format not recognized So the compilation...

Travis CI for Android - Build Error: Failed to find target & Could not find dependencies

android,android-gradle,travis-ci
I am trying to set up Travis CI for my existing Android project. I've added the .travis.yml: language: android android: components: - build-tools-21.1.2 - android-22 - extra-google-google_play_services But it always fails in Travis CI with the following error: FAILURE: Build failed with an exception. * What went wrong: A problem...

Travis CI - limited number of pulled commits from github

git,github,travis-ci
I am moving to Travis CI. Previously I was creating build numbers from the number of all commits: build_num=`git rev-list HEAD --count` This was matching github's number of commits. This doesn't work when calulated by a script on Travis CI. It gives a different number which even tends to decrease...

Specifying an alternative source file directory with biicode

c++,travis-ci,biicode
I am trying to use biicode to manager dependencies for my project so that I can automate things like boost or sqlite and use travis-ci From what I understand bii is expecting your source files to be at the root folder of your block like mentionned in their tutorials: |--...

Install Numpy 1.8 in Travis CI

python,ubuntu,numpy,matplotlib,travis-ci
Within my project, I (have to) use a feature included in Numpy 1.8, but not in earlier versions (the formatteroption of numpy.set_printoptions). Since Travis CI build machines are based on Ubuntu 12.04, by default I only have Numpy 1.6.1 available. I then tried to install the Numpy-1.8.1-Debian-package for Ubuntu 14.04...

Travis build fails due to badly outdated NPM

travis-ci
I'm looking to use Travis CI. I am erroring out due to failures during npm install. I noticed it can't find file versions marked with ^. This character was added recently. Looking at the build output I noticed: $ npm --version 1.2.30 My development machine runs npm 2.5.1. I did...

Inconsistent behaviour with browserstack testing of ReactJS via travis-ci vs localhost

jasmine,reactjs,karma-runner,travis-ci,browserstack
I'm running test towards browserstack with karma (karma-browserstack-launcher, browserify + reactify), using jasmine as test suite with my reactjs code, and I'm getting inconsistent behaviour. If I run karma start karma.conf from my laptop (using Chrome 39 on windows 8.1), every test runs fine, but if I the command is...