Giter VIP home page Giter VIP logo

travis's Introduction

Travis

Travis ist ein Tool um Repos automatisiert zu "builden". Falls im gewählten Repo ein neuer Tag erstellt wird, dann wird der Build (PDF-File) unter deinem Namen im Projekt released.
Beispiel für einen Automatischen PDF-Build mit Travis.
Die Bedingungen für die Erstellung eines neuen Release können im .travis.yml angepasst werden. Dafür brauchst du einen Account in Travis-CI, und einen Token, mit welchem Travis sich bei GitHub authentifizieren und somit die Builds releasen kann.

Installation

  • Travis anmelden
  • Github-Projekt auf der Profilseite suchen und aktivieren (https://travis-ci.org/profile/USERNAME)
  • Github Token erstellen: creating-a-personal-access-token
  • Token mit GITHUB_RELEASE_TOKEN bennen
    • Rechte: public_repo, repo_deployment
  • Token lokal sicher abspeichern
  • Token in Travis-CI im Projekt (https://travis-ci.org/HSR-Stud/PROJECTNAME/settings) als Environment Variable hinzufügen
    • ACHTUNG: Der Token darf im Display Log nicht angezeigt werden: Display value in build log muss OFF sein!!
    • Name der Variable muss wieder GITHUB_RELEASE_TOKEN sein

Anwendung

  • Travis als Submodul einfügen
    git submodule add https://github.com/HSR-Stud/Travis Travis
  • .travis.yml in die oberste Ebene des Repos kopieren.
  • Das neue .travis.yml bearbeiten.
    • Unter script und file den aktuellen Dokumentnamen einfügen.
    • bibtex auskommentieren, falls es nicht benötigt wird.

Build status im Readme anzeigen

  • Im Projekt auf den Build Status klicken (rechts neben dem Projektnamen)
  • Branch auswählen
  • Statt "Image URL" "Markdown" auswählen
  • Text kopieren
  • In Readme eintragen
  • Committen

travis's People

Contributors

dav1d-wright avatar n04hk avatar pescara avatar

Watchers

James Cloos avatar

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.