{"id":15706408,"url":"https://github.com/smola/ci-tricks","last_synced_at":"2025-05-12T18:55:27.178Z","repository":{"id":57591608,"uuid":"133061233","full_name":"smola/ci-tricks","owner":"smola","description":"single-binary with tricks to setup multiple CI providers","archived":false,"fork":false,"pushed_at":"2019-10-16T12:41:27.000Z","size":192,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T01:51:05.540Z","etag":null,"topics":["appveyor","continuous-integration","travis-ci"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-11T16:08:02.000Z","updated_at":"2024-02-18T15:25:47.000Z","dependencies_parsed_at":"2022-09-26T19:43:21.177Z","dependency_job_id":null,"html_url":"https://github.com/smola/ci-tricks","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fci-tricks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fci-tricks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fci-tricks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smola%2Fci-tricks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smola","download_url":"https://codeload.github.com/smola/ci-tricks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805002,"owners_count":21967050,"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","continuous-integration","travis-ci"],"created_at":"2024-10-03T20:22:39.540Z","updated_at":"2025-05-12T18:55:27.155Z","avatar_url":"https://github.com/smola.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ci-tricks [![Build Status](https://travis-ci.org/smola/ci-tricks.svg?branch=master)](https://travis-ci.org/smola/ci-tricks)  [![Build status](https://ci.appveyor.com/api/projects/status/github/smola/ci-tricks?branch=master\u0026svg=true)](https://ci.appveyor.com/project/smola/ci-tricks) [![codecov](https://codecov.io/gh/smola/ci-tricks/branch/master/graph/badge.svg)](https://codecov.io/gh/smola/ci-tricks)\n\n**ci-tricks** is a single-binary that can be run on multiple continuous integration providers to setup the environment in an efficient way.\n\n**WARNING: This approach is hacky, dirty and ugly. It is meant to provide some last resort hacks for projects that run on multiple CI providers and platforms.**\n\n## Supported platforms\n\n* Appveyor/Windows/amd64\n* Travis/Linux/amd64 ([sudo-enabled](https://docs.travis-ci.com/user/reference/overview/#Sudo-enabled))\n* Travis/macOS/amd64\n\n## Usage\n\n1. Set the environment variables as required by each trick.\n2. Run `ci-tricks`.\n\nOn Travis CI you can run latest `ci-tricks` version with:\n\n```yaml\ninstall:\n  - wget -qO - https://raw.githubusercontent.com/smola/ci-tricks/master/get.sh | bash\n```\n\nOn Appveyor you can use:\n\n```yaml\ninstall:\n  - ps: iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/smola/ci-tricks/master/get.ps1'))\n```\n\n## Tricks\n\n### PostgreSQL\n\nPostgreSQL can be set up by setting the `POSTGRESQL_VERSION` environment variable to the desired PostgreSQL version.\n\n| Version       | Travis/Linux  | Travis/macOS | Appveyor/Windows      |\n| ------------- |:-------------:|:------------:|:---------------------:|\n| `9.2`         | ✅             | ❌           | ❌                     |\n| `9.3`         | ✅             | ❌           | ❌                     |\n| `9.4`         | ✅             | ✅           | ❌                     |\n| `9.5`         | ✅             | ✅           | ✅                     |\n| `9.6`         | ✅             | ✅           | ✅                     |\n| `10`          | ✅             | ✅           | ✅                     |\n\n* '''Note:''' PostgreSQL 10 on Travis/Linux requires using xenial or higher.\n\n### RabbitMQ\n\nRabbitMQ can be set up by setting the `RABBITMQ_VERSION` environment variable to the desired RabbitMQ version.\n\n| Version       | Travis/Linux  | Travis/macOS | Appveyor/Windows      |\n| ------------- |:-------------:|:------------:|:---------------------:|\n| `any`         | ✅             | ✅           | ✅                     |\n\n* '''Note:''' RabbitMQ on macOS will not work on old [Travis images](https://docs.travis-ci.com/user/reference/osx/). Use `xcode9.4` or higher.\n\n## Contributing\n\n[Issues](https://github.com/smola/ci-tricks/issues) and [pull requests](https://github.com/smola/ci-tricks/pulls) are welcome.\n\n**Platforms:** We are **not** accepting issues or pull requests related to running ci-tricks outside a continuous integration provider.\n\n**Bugs:** If you find a bug, please, include a link to an affected CI build.\n\n**Features:** We are open to include new tricks. For new services, we are initially interested only in those supported either [by Travis](https://docs.travis-ci.com/user/database-setup/) or [by Appveyor](https://www.appveyor.com/docs/services-databases/).\n\n## License\n\nThis project is released under the terms of the Apache License 2.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmola%2Fci-tricks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmola%2Fci-tricks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmola%2Fci-tricks/lists"}