{"id":13433259,"url":"https://github.com/atom/ci","last_synced_at":"2026-01-10T19:45:41.054Z","repository":{"id":16341007,"uuid":"19090740","full_name":"atom/ci","owner":"atom","description":"Build your Atom packages","archived":true,"fork":false,"pushed_at":"2022-09-28T10:52:01.000Z","size":163,"stargazers_count":82,"open_issues_count":2,"forks_count":34,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-08-01T02:32:57.589Z","etag":null,"topics":["appveyor","atom","circleci","travis-ci"],"latest_commit_sha":null,"homepage":"https://atom.io/packages","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-24T00:54:45.000Z","updated_at":"2024-04-22T17:30:53.000Z","dependencies_parsed_at":"2023-01-11T19:19:41.135Z","dependency_job_id":null,"html_url":"https://github.com/atom/ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atom%2Fci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atom","download_url":"https://codeload.github.com/atom/ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221675303,"owners_count":16861860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appveyor","atom","circleci","travis-ci"],"created_at":"2024-07-31T02:01:23.225Z","updated_at":"2024-10-27T12:32:33.498Z","avatar_url":"https://github.com/atom.png","language":"PowerShell","readme":"##### Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in our [official announcement](https://github.blog/2022-06-08-sunsetting-atom/)\n # Atom Package CI Scripts\n\nTemplates for building your Atom package and running its specs:\n\n-   Windows, macOS and Ubuntu Linux: Using [GitHub Actions](https://github.com/features/actions)\n-   macOS and Ubuntu Linux: Using [Travis CI](https://travis-ci.org)\n-   Windows: Using [Appveyor](https://appveyor.com)\n-   Ubuntu Linux / Docker: Using [CircleCI](https://circleci.com)\n\n## Setting up CI for your package\n\n### GitHub Actions\n\n-   Copy [.github/workflows/main.yml](https://raw.githubusercontent.com/atom/ci/master/.github/workflows/main.yml)\n  to the same location in your package's repository tree\n-   :boom: Your package will now build and run its specs; you can see an example\n  of a configured package [here](https://github.com/thumperward/auto-create-files/actions)\n\n### Travis CI\n\n-   Sign up for an account on [Travis CI](https://travis-ci.org)\n-   Copy [.travis.yml](https://raw.githubusercontent.com/atom/ci/master/.travis.yml)\n  to the root of your package's repository\n-   Setup the [Travis CI hook](https://docs.travis-ci.com/user/getting-started/#To-get-started-with-Travis-CI%3A) on your package's repository\n-   :boom: Your package will now build and run its specs; you can see an example\n  of a configured package [here](https://travis-ci.org/atom/wrap-guide)\n\n### Appveyor\n\n-   Sign up for an account on [Appveyor](https://appveyor.com)\n-   Add a new project\n-   Ensure the `Ignore appveyor.yml` setting in `Settings \u003e General` is unchecked\n-   Copy [appveyor.yml](https://raw.githubusercontent.com/atom/ci/master/appveyor.yml)\n  to the root of your package's repository\n-   :boom: Your package will now build and run its specs; you can see an example\n  of a configured package [here](https://ci.appveyor.com/project/Atom/wrap-guide)\n\n### CircleCI\n\n-   Sign up for an account on [CircleCI](https://circleci.com)\n-   Create a `.circleci` directory at the root of your project\n-   Copy [config.yml](https://raw.githubusercontent.com/atom/ci/master/.circleci/config.yml)\n  to the new directory\n-   Commit the changes and push them up to GitHub\n-   [Add a new project](https://circleci.com/docs/2.0/hello-world/) on CircleCI\n-   :boom: Your package will now build and run its specs; you can see an example\n  of a configured package [here](https://circleci.com/gh/AtomLinter/linter-stylelint)\n\n## FAQ\n\n### How do I install other Atom packages that my package build depends on?\n\nSet the `APM_TEST_PACKAGES` environment variable in your CI configuration file\nto a space-separated list of packages to install before your package's tests\nrun.\n\n```yml\nenv:\n  - APM_TEST_PACKAGES=\"autocomplete-plus some-other-package-here\"\n```\n\n### What version of Atom is used to run the specs?\n\nIt will always download the latest available version. You can read more about\nthe latest Atom release [here](https://atom.io/releases).\n\n### How does it work?\n\nThe `apm test` command assumes your package is using [Jasmine](http://jasmine.github.io)\nspecs. You can run the specs locally using Atom's spec runner UI from the\n`View \u003e Developer \u003e Run Package Specs` menu or by pressing `cmd-ctrl-alt-p`. You\ncan run `apm help test` to learn more about that command.\n\n#### GitHub Actions\n\nThe CI template uses the [Atom setup Action](https://github.com/marketplace/actions/setup-atom) to\ninstall and set up Atom on a runner. The script then installs dependencies from\nyour package and runs the `apm test` command to run your package's specs.\n\n#### Travis CI, CircleCI\n\nThe CI template downloads the [build-package.sh](https://raw.githubusercontent.com/atom/ci/master/build-package.sh)\nfrom this repository. This script then downloads the latest Atom release,\ninstalls your package's dependencies, and runs the `apm test` command to run\nyour package's specs.\n\n#### Appveyor\n\nThe `appveyor.yml` template uses [Chocolatey](https://chocolatey.org/) to\ndownload and install the [latest version of Atom](https://chocolatey.org/packages/Atom).\n`apm install` is run in your package directory to ensure any node dependencies\nare available. Finally, the script runs the `apm test` command to run your\npackage's specs.\n\n### What does the output look like?\n\n-   [macOS @ Travis CI](https://travis-ci.org/atom/wrap-guide/builds/23774579)\n-   [Windows @ Appveyor](https://ci.appveyor.com/project/Atom/wrap-guide/build/12)\n-   [Ubuntu Linux @ CircleCI](https://circleci.com/gh/AtomLinter/linter-stylelint/623)\n\n### What packages use this?\n\n-   [Linux, macOS](https://github.com/search?utf8=%E2%9C%93\u0026q=%22curl+-s+https%3A%2F%2Fraw.githubusercontent.com%2Fatom%2Fci%2Fmaster%2Fbuild-package.sh+|+sh%22+extension%3Ayml\u0026type=Code)\n-   [Windows](https://github.com/search?q=\"cinst+atom\"+extension%3Ayml\u0026type=Code)\n","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatom%2Fci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatom%2Fci/lists"}