GithubHelp home page GithubHelp logo

ci's Introduction

Atom Package CI Scripts

Templates for building your Atom package using Travis CI.

Setting up CI for your package

  • Sign up for an account on Travis CI
  • Copy this .travis.yml to the root of your package's repository.
  • Setup the Travis hook on your package's repository.
  • ๐Ÿ’ฅ Your package will now build. You can see an example of a configured package here.

FAQ

Why is the language set to objective-c?

Atom has only been released for Mac OS X and setting the language to objective-c tells Travis to run the build on a Mac OS X worker. You can read more about it here.

What version of Atom is used to run the specs?

It will always download the latest available version. You can read more about the latest Atom release here.

How does it it work?

The .travis.yml template downloads the build-package.sh from this repository. This script then downloads node, the latest Atom release, and runs the apm test command to run your package's specs. You can run apm help test to learn more about that command.

The apm test command assumes your package is using Jasmine specs. You can run the specs locally using Atom's spec runner UI from the View > Developer > Run Package Specs menu or by pressing cmd-ctrl-alt-p.

What does the output look like?

Take a look at an example package build here.

What packages use this?

Click here to see all the Atom packages with Travis CI enabled.

ci's People

Contributors

izuzak avatar kevinsawicki avatar tonylukasavage avatar

Watchers

 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.