travis-ci

.travis.yml version setting for postgresql ignored

二次信任 提交于 2019-12-22 07:05:08
问题 With the following in my .travis.yml: addons: postgresql: "9.3" before_script: - psql --version - psql -c 'SELECT version();' -U postgres I get the following output: $ psql --version $ psql (PostgreSQL) 9.4.0 $ psql -c 'SELECT version();' -U postgres PostgreSQL 9.1.14 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, 64-bit Obviously there's something wrong here but I'm not sure how to tell Travis to actually use the postgres version I specified. I followed

Which continuous integration server is able to queue jobs?

江枫思渺然 提交于 2019-12-22 06:57:07
问题 Use case: CI server polls some VSC repository and runs test suite for each revision. And if two or more revisions were commited, even in a relatively small time interval, I want the CI server to put each of them in queue, run tests for each, store the results, and never run tests again for those commits. And I don't want the CI server to launch jobs in parallel, to avoid performance issues and crashes in case of many simultaneous jobs. Which CI server is able to handle this? My additional,

How to run Node.js and Ruby tests within one project on Travis CI

隐身守侯 提交于 2019-12-22 06:50:07
问题 I have a repo that contains multiple components, most of them in JavaScript (Node.js) and one written in Ruby (Ruby on Rails). I'd like to have one .travis.yml file that triggers one build that runs all the tests for each of the components. According to this Travis CI Google Group thread, there is no official support for this for now. My directory structure looks like this: . ├── buildserver ├── core ├── extensions ├── webapp ├── Vagrantfile ├── package.json ├── .travis.yml └── Makefile I

Can't configure travis to work on android project

妖精的绣舞 提交于 2019-12-22 05:54:35
问题 I have found several problems with Travis CI and I have been solving them but the last one I can't. I'm getting the common error com.android.ddmlib.InstallException: Failed to establish session This is my travis file: language: android before_install: - chmod +x gradlew android: components: # Uncomment the lines below if you want to # use the latest revision of Android SDK Tools # - platform-tools # - tools # The BuildTools version used by your project - tools - build-tools-23.0.3 #

Can't configure travis to work on android project

試著忘記壹切 提交于 2019-12-22 05:54:09
问题 I have found several problems with Travis CI and I have been solving them but the last one I can't. I'm getting the common error com.android.ddmlib.InstallException: Failed to establish session This is my travis file: language: android before_install: - chmod +x gradlew android: components: # Uncomment the lines below if you want to # use the latest revision of Android SDK Tools # - platform-tools # - tools # The BuildTools version used by your project - tools - build-tools-23.0.3 #

Defining secure environment variables for multiple repositories in a single .travis.yml

非 Y 不嫁゛ 提交于 2019-12-22 04:53:09
问题 I am working on a project that is using Travis CI. Some of our tests require secure credentials to be defined in environment variables, or else they are skipped. We are using the encrypt command of the Travis CLI gem to define a secure environment variable for our primary repository, owner/Project . This variable is included in our .travis.yml file as follows: Single-Repository Configuration env: secure: "av9hxTZp/Dhe9xAOq6WlhTNDoWjjczN3lFanG6h

using travis-ci with wxpython tests

若如初见. 提交于 2019-12-21 21:29:16
问题 I'm trying to add some wxPython tests to work with travis-ci, but I can't figure out how to install wxPython in the build environment. I used brew to install wxPython on my computer, but I can't get brew to work with travis-ci. In the travis-ci docs, it appears that brew should come built-in: http://docs.travis-ci.com/user/installing-dependencies/#Installing-Mac-Packages, but as far as I can tell it doesn't. If I try to use brew, I get this error message: $ brew update /home/travis/build.sh:

NDK, CMake, and Android in TravisCI

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 19:44:54
问题 I'm trying to set up my CI for a Android project that uses some C++ code. As such I need the NDK that doesn't come pre-installed on Travis Android images. I'm currently achieving this by pulling the NDK myself, however my CI box is complaining about the CMake license not being accepted. The weird thing is that I thought this was included in the android-sdk-license which I am already including in my build. My travis YAML looks like this: language: android jdk: - oraclejdk8 - oraclejdk9 android

trigger travis CI build only with specific commit message

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-21 13:54:48
问题 I want travis to start only if I have a certian commit message. how can i do this. My travis.yml file is here I know there is an on condition from this question but I dont know where to put it. 回答1: The question you mentioned regards deploying travis build. So on: condition only determines if build is deployed or not. Regardless this setting other build steps are executed on each commit/pull request. What you could use instead is adding [ci-skip] or [skip-ci] in commit messages to force build

trigger travis CI build only with specific commit message

ぐ巨炮叔叔 提交于 2019-12-21 13:52:46
问题 I want travis to start only if I have a certian commit message. how can i do this. My travis.yml file is here I know there is an on condition from this question but I dont know where to put it. 回答1: The question you mentioned regards deploying travis build. So on: condition only determines if build is deployed or not. Regardless this setting other build steps are executed on each commit/pull request. What you could use instead is adding [ci-skip] or [skip-ci] in commit messages to force build