circleci

Simple CircleCI 2.0 configuration fails for global NPM package installation

我怕爱的太早我们不能终老 提交于 2019-12-23 01:08:09
问题 I have a Dockerfile that works fine: FROM node:10 RUN npm set unsafe-perm true RUN npm install -g '@oresoftware/r2g@0.0.132' but the same CircleCI config.yml file that mirrors the above Dockerfile does not work: { "version": 2, "jobs": { "build": { "docker": [ { "image": "circleci/node:10" } ], "steps": [ { "run": "npm set unsafe-perm true" }, { "run": "npm install -g --loglevel=warn '@oresoftware/r2g@0.0.132'" } ] } } } I get the following error on CircleCI using the above config.yml file: #

Ember.js - CircleCI - BrowserStack

烂漫一生 提交于 2019-12-22 09:39:07
问题 I try to connect together our cicleCI with browserstack and run our integration_test and unit tests not only with PhantomJS but on real Firefox and Internet Explorer as well, using Browserstack service. I try to configure browserstack-cli. I can run the test from circleci via tunnel on Browserstack, but never report back to circleci server. Could you please share your experience if you already played with this stack? Thank you very much! 回答1: The solution is to use BrowserStackLocal and

Build fails because of “multiple definition” linker errors in native dependencies

…衆ロ難τιáo~ 提交于 2019-12-22 03:49:25
问题 I maintain an open-source framework that uses CircleCI for continuous integration. I've recently hit a wall where the project suddenly refused to build in rather strange circumstances. Build 27 was the last one that succeeded. After that, I made some minor changes to dependencies and noticed that the build fails. I've tried to fix it without success, so I reverted back to last working configuration and it still failed. The reason for failure are two dependencies, both being bindings to native

How to test android application on Circle CI with Google Services Gradle Plugin

孤街浪徒 提交于 2019-12-21 02:28:10
问题 I'm developing android application with Google Services Gradle Plugin(It is needed from Firebase), and the plugin needs google-services.json. I think the json file should not be under the control of git because it have some values that should be concealed(ex. api_key), but Circle CI needs the one. If google-services.json can look up environment variables, the problem can solve.(values are concealed on git repository and Circle CI can get values from environment variables). But, I can't find

Automating jmx files in CircleCI

夙愿已清 提交于 2019-12-20 07:07:19
问题 I have couple of jmx files which I recorded and downloaded using blazemeter plugin. I would like to know How Can I integrate to CircleCI? How can I set it to run daily? Any help will be highly appreciated. 回答1: When you add a CircleCI project you have a variety of languages to choose from: I would recommend going for Maven(Java) as JMeter Maven Plugin is the easiest option for setting up and using out of other JMeter non-GUI execution options. Organise your project structure as follows:

Is it possible to install npm package only if it has not been already installed?

こ雲淡風輕ζ 提交于 2019-12-18 13:55:08
问题 Is it possible to install npm package only if it has not been already installed? I need this to speed up test on CircleCI, but when I run npm install protractor@2.1.0 etc. it always downloads things and installs them from scracth, however, node_modules folder with all modules is already present at the moment of running commands (cached from previous build) and protractor --version etc. shows the needed version of the package. Its perfect to have some one-line command like this: protractor -

Anchors are not currently supporting while running azure devops YML File

拥有回忆 提交于 2019-12-13 02:54:54
问题 I have a CircleCI Configured config.yml file to build and deploy the code and I wanted that config.yml file to be run in Azure DevOps pipeline but I am getting the error as below.Kindly help in fixing my below script where should I need to change to run in Azure DevOps? I am new to the YAML configuration and new in Azure DevOps,so Kindly help me in this matter. Error: config.yml: # # Required variables # # Production: # - GCLOUD_SERVICE_KEY_PRODUCTION # - GCLOUD_PROJECT_ID_PRODUCTION # -

npm install fails in circle ci (angular cli project)

为君一笑 提交于 2019-12-13 02:48:56
问题 I have created a project in Angular cli. I want to do CI using circle ci. The project is uploaded in Bitbucket and is correctly picked by Circle CI. The build fails though. Following is the config.yml (picked CircleCI's sample.yml and changed it (added ng test). I assume that the package.json created by angularcli earlier would install AngularCLI. version: 2 jobs: build: #working_directory: ~/mern-starter # The primary container is an instance of the first list image listed. Your build

Visual reporting for Karate without Jenkins CI

自作多情 提交于 2019-12-12 16:27:53
问题 I'm trying to get reporting working for Karate DSL, and it's proven a challenge because my team uses Circle CI instead of Jenkins. Cucumber reporting seems to only work for Jenkins. I've had a look at this documentation, here: https://github.com/intuit/karate/tree/master/karate-demo#example-report https://github.com/jenkinsci/cucumber-reports-plugin I was wondering if there is a circle friendly equivalent you could recommend? It'd be even better if the reports could be generated in the

Android jack and jill get stuck

耗尽温柔 提交于 2019-12-12 10:48:24
问题 I am trying to use Jack-Jill and Java8 for my Android app. Everything is good on my laptop but when I tried to run the project on CircleCI it's getting stuck on transformClassesWithPreJackPackagedLibrariesForDebug Here is my build.gradle apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply from: 'test-environment.gradle' buildscript { repositories { maven { url 'https://maven.fabric.io/public' } } dependencies { classpath 'io.fabric.tools:gradle:1.+' } } repositories {