Giter Site home page Giter Site logo

cxx-ci-trial's Introduction

[![Build Status][travis-img]][travis-repo] [travis-img]: https://travis-ci.org/mingpj2/cxx-ci-trial.png?branch=master [travis-repo]: https://travis-ci.org/mingpj2/cxx-ci-trial

Test Project.

Travis Scheduled Build on Stackoverflow.

http://stackoverflow.com/questions/20395624/travis-ci-builds-on-schedule

This feature has been requested some time ago, but is not yet being worked on. travis-ci/travis-ci#582

Here is an external solution that will trigger new builds. https://traviscron.pythonanywhere.com/

Travis Scheduled Build on Stackoverflow.

http://stackoverflow.com/questions/21628642/call-github-api-with-travis-to-build-tag

I have created a TravisCI Hook in a GitHub repository that automatically run a build after pushing to the repo. What I would like to add is that if the build succeeds a tag is automatically created.

I have found out that there is a way to create tags with the GitHub API http://developer.github.com/v3/git/tags/#create-a-tag-object

You can create a GitHub Personal API Token that will grant access to your repositories. The public_repo scope should be all you need for a public repository.

Use this token for authenticating to the GitHub API. To use the token with the API include it in the Authorization header.

curl -H "Authorization: token <YOUR_TOKEN>" https://api.github.com/user

You can also use this token to push to your repository.

git push -q https://@github.com//

Now for the fun part, you need to keep that token a secret. Having it public is equivalent to having your username and password public.

cxx-ci-trial's People

Watchers

James Cloos avatar  avatar

Forkers

stk-ci

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.