travis-ci

Why fails Travis CI to retrieve a SNAPSHOT artifact when retrieval works locally?

本秂侑毒 提交于 2020-01-17 06:15:07
问题 I'm suffering for a Could not find artifact org.apache.commons:commons-numbers-core:jar:1.0-SNAPSHOT Maven error on Travis CI which I can't explain because I ran the exact same build command locally after deleting ~/.m2/repository and moving ~/.m2/settings.xml to a backup location. The error message is [ERROR] Failed to execute goal org.codehaus.izpack:izpack-maven-plugin:5.1.1:izpack (default) on project document-scanner: Execution default of goal org.codehaus.izpack:izpack-maven-plugin:5.1

Coveralls: Error- No source for in my application using Docker container

∥☆過路亽.° 提交于 2020-01-16 09:43:28
问题 I've been trying to integrate code-coverage in my Django application.. The build is successfull and all the tests are successfull but when i check coveralls.io or codecov.io there is no data.. I have searched everything, added a .coveragerc but still nothing helps. Dockerfile FROM python:3.7-alpine MAINTAINER abhie-lp ENV PYTHONUNBUFFERED 1 COPY ./requirements.txt /requirements.txt RUN apk add --update --no-cache jpeg-dev RUN apk add --update --no-cache --virtual .tmp-build-deps \ gcc libc

check status of job requested through travis API v3

孤街浪徒 提交于 2020-01-15 09:55:49
问题 So I've submitted a request using travis api v3 guide and got response like: { "@type": "pending", "remaining_requests": 10, "repository": { "@type": "repository", "@href": "/repo/111111111", "@representation": "minimal", "id": 111111111, "name": "my-111111111", "slug": "me/my111111111" }, "request": { "repository": { "id": 222222, "owner_name": "me", "name": "my-111111111" }, "user": { "id": 333333 }, "id": 444444, "message": "Cool message", "branch": "master" }, "resource_type": "request" }

go.mod changes in travis-ci

只谈情不闲聊 提交于 2020-01-15 05:55:31
问题 I have upgraded my project to use go 1.11.2 modules support. However, I am running into a very annoying problem. The go.mod file keeps changing in CI. It is a different file each day. Today the lines in go.sum is: golang.org/x/net v0.0.0-20190213061140-3a22650c66bd h1:HuTn7WObtcDo9uEEU7rEqL0jYthdXAmZ6PP+meazmaU= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= The go.mod is: golang.org/x/net v0.0.0-20190213061140-3a22650c66bd //

Using gcloud on Travis CI

南笙酒味 提交于 2020-01-14 05:15:07
问题 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: [xxxxx@developer.gserviceaccount.com] Then I run this: $ gcloud preview app deploy app.yaml --project "${GAE_PROJECT_ID}" --quiet --version "${GAE_PROJECT_VERSION}" You are about to deploy the following modules: - ricochet-robots

How can I install a specific node.js version on a PHP container on Travis CI?

折月煮酒 提交于 2020-01-13 10:34:06
问题 For a Laravel project I use Travis Ci with the language option as PHP. Besides PHP I want to do some Node JS testing. The default installed version of Node JS does not meet my requirements. How can I specify the version of Node JS in my config file? I have tried the following. But unfortunately, that does not work. language: php php: - '7.0' - '7.1' node_js: - '6.10' 回答1: In search for an answer to the same question I ended up here, and there, and this helped me: language: php php: - 7.0 - 7

How can I install a specific node.js version on a PHP container on Travis CI?

这一生的挚爱 提交于 2020-01-13 10:34:03
问题 For a Laravel project I use Travis Ci with the language option as PHP. Besides PHP I want to do some Node JS testing. The default installed version of Node JS does not meet my requirements. How can I specify the version of Node JS in my config file? I have tried the following. But unfortunately, that does not work. language: php php: - '7.0' - '7.1' node_js: - '6.10' 回答1: In search for an answer to the same question I ended up here, and there, and this helped me: language: php php: - 7.0 - 7

undefined reference to `std::__cxx11::basic_string in Boost on Travis CI

混江龙づ霸主 提交于 2020-01-11 08:24:57
问题 I am trying to get a C+++ project which uses Boost on GitHub to compile correctly on Travis CI. First I tried the packages and PPAs on ubuntu, but they were too old(I need at least Boost 1.61). I got it to work only if I compiled Boost on Travis CI(download, compile), but, unfortunately, the compile time is big (11-18 mins) and the log file is just huge. Thinking how to get over this issues, I thinked about compiling boost on my machine, zipping, uploading to some web server and just

undefined reference to `std::__cxx11::basic_string in Boost on Travis CI

时光总嘲笑我的痴心妄想 提交于 2020-01-11 08:24:28
问题 I am trying to get a C+++ project which uses Boost on GitHub to compile correctly on Travis CI. First I tried the packages and PPAs on ubuntu, but they were too old(I need at least Boost 1.61). I got it to work only if I compiled Boost on Travis CI(download, compile), but, unfortunately, the compile time is big (11-18 mins) and the log file is just huge. Thinking how to get over this issues, I thinked about compiling boost on my machine, zipping, uploading to some web server and just

How to publish artifacts in Travis CI?

会有一股神秘感。 提交于 2020-01-09 08:37:06
问题 I would like to use Travis CI for my open-source project. The issue that Travis doesn't provide any ways to publish produced artifacts (though, they have this in their future plans). What are workarounds to publish/upload artifacts somewhere? I'm allowed to execute any scripts on a CI machine. Simple upload will work, but there is security issue: anyone will be able to upload something in the same way as all sources are public. 回答1: The "github releases uploading" feature is announced