travis-ci

Travis-CI cannot find relative module require

那年仲夏 提交于 2019-12-05 20:41:06
I have a Travis build job that is running mocha tests, however the build is failing with the error: Error: Cannot find module './sources/reddit' My file tree is the following feeds/ sources/ Reddit.js Feeds.js app.js Within Feeds.js I am doing var https = require('https'), q = require('q'), Reddit = require('./sources/reddit'); However it seems to be flagging up an error loading it up. This error is because I was referencing ./sources/reddit with reddit as lowercase, on the filesystem the file is Reddit with an uppercase R . Mac OSX deals with case sensitivity well, Linux does not. To complete

Trouble installing R packages with devtools on Travis

我的梦境 提交于 2019-12-05 19:59:03
问题 Travis CI builds for the drake R package manual recently started failing: Downloading GitHub repo ropensci/drake@master Error: Could not find tools necessary to compile a package In addition: Warning message: In get0(oNam, envir = ns) : internal error -3 in R_decompress1 Execution halted The command "Rscript -e 'deps <- devtools::dev_package_deps(dependencies = NA);devtools::install_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: ", paste

Script “heroku login” in a CI environment

佐手、 提交于 2019-12-05 19:18:43
Is there a sanctioned way to either script or bypass the Heroku Toolbelt's login prompt? I've come across a number of hacks which claim to provide a solution (expect, environment variables, interpolating environment variables in .netrc, etc.), but I'd really like to find a stable solution. набиячлэвэли From what I see in the docs, there's three ways one can go about this. Method 1: Login via CLI The first one is to authenticate via Login&Password (bleh). Knowing the input format - login on one line, password on the other - we can cat or echo the data in: Via secure env vars: ( echo "$HEROKU

Is there a standard skeleton, or instructions, for setting up an open-sourced Symfony2 bundle complete with travis-ci and composer? [closed]

ぐ巨炮叔叔 提交于 2019-12-05 17:54:50
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center . Closed 7 years ago . If there are, then they must be very well hidden...I've tried googling, traversing the maze of Symfony docs, asking on twitter and searching here but have found nothing useful. Stumbling block 1: Where to create my bundle, designed to be open-sourced? If

Is there a way to access and view html report in Travis CI for maven tests?

别说谁变了你拦得住时间么 提交于 2019-12-05 16:38:26
问题 Is there a way to access and view html report in Travis CI for maven testng tests ? At this moment, Travis CI logs is the only way I see how many tests passed/failed/skipped etc. Something like this: Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.427 sec Results : Tests run: 34, Failures: 0, Errors: 0, Skipped: 0 However there are surefire reports generated in this directory: [INFO] Surefire report directory: /home/travis/build/xxxx/yyyy/target/surefire-reports I want to

Post Build event with condition

不打扰是莪最后的温柔 提交于 2019-12-05 16:09:52
Having the need to add a condition to the Post Build event in my Visual Studio 2013 project, I ended up with the following: <PropertyGroup Condition=" '$(OS)' == 'Windows_NT' "> <PostBuildEvent>"$(SolutionDir)..\Deploy\Build\sign-bin.cmd"</PostBuildEvent> </PropertyGroup> I've added the condition Condition=" '$(OS)' == 'Windows_NT' " manually with a text editor to the CSPROJ file. This works as expected, my solution builds successfully both in Visual Studio as well as in Travis CI . What doesn't work: When editing the Post Build event inside Visual Studio in the graphical editor, it seems to

Does Travis ci allow ghc versions larger than 7.8?

烂漫一生 提交于 2019-12-05 15:53:27
问题 I just created a Haskell Travis CI project with this .travis.yml : language: haskell ghc: - 7.8 - 7.10 But Travis interprets the second version as 7.1 : https://travis-ci.org/fhaust/dtw/jobs/57648139 The version is only recognized if I enclose it in quotes (though this results in other errors, since 7.10 is not a version available on Travis CI): language: haskell ghc: - 7.8 - "7.10" Is this a bug? Edit 2015-11-22 There is an open issue for GHC 7.10 on travis-ci: https://github.com/travis-ci

Travis-CI skipping deployment although Commit is tagged

て烟熏妆下的殇ゞ 提交于 2019-12-05 13:04:15
问题 I'm quite new to Travis CI, but I found my way through it using their docs. However deploying to GitHub releases doesn't work for me. My .travis.yml file looks like this: language: java branches: only: - master notifications: email: false before_deploy: - export RELEASE_JAR_FILE=$(ls build/libs/*.jar) - echo "Deploying $RELEASE_JAR_FILE to GitHub" deploy: provider: releases api_key: secure: [key] file_glob: true file: "${RELEASE_JAR_FILE}" skip_cleanup: true on: repo: [my-repo] tags: true all

Can travis-ci run docker?

廉价感情. 提交于 2019-12-05 12:54:50
问题 I am unable to run a docker container in a Travis continuous integration job. https://travis-ci.org/buildbot/buildbot/builds/36547150 pkg/installation_tests/testall.sh Segmentation Fault or Critical Error encountered. Dumping core and aborting. pkg/installation_tests/testall.sh: line 16: 7343 Aborted docker build $dir make: *** [docker_install_tests] Error 1 My guess is that there are missing kernel stuff in the travis workers, but it is difficult to tell. 回答1: As of August 2015, Travis CI

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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 11:39:47
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 want to be able to run specific versions of Ruby (2.2.2) and Node.js (0.12.2). I already have a make