{"id":17329791,"url":"https://github.com/fgimenez/ocaml-travis-runner","last_synced_at":"2025-03-27T05:43:30.704Z","repository":{"id":151240222,"uuid":"73480396","full_name":"fgimenez/ocaml-travis-runner","owner":"fgimenez","description":null,"archived":false,"fork":false,"pushed_at":"2017-01-09T17:40:51.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T10:45:41.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fgimenez.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-11T13:36:11.000Z","updated_at":"2016-11-11T18:29:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"079861f2-72ed-438a-98e3-d30c72cc05a4","html_url":"https://github.com/fgimenez/ocaml-travis-runner","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/fgimenez%2Focaml-travis-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Focaml-travis-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Focaml-travis-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgimenez%2Focaml-travis-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgimenez","download_url":"https://codeload.github.com/fgimenez/ocaml-travis-runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791927,"owners_count":20672669,"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":[],"created_at":"2024-10-15T14:49:28.169Z","updated_at":"2025-03-27T05:43:30.681Z","avatar_url":"https://github.com/fgimenez.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple containerized environment to reproduce travis builds for opam packages using the [.travis-docker.sh script from ocaml/ocaml-ci-scripts](https://github.com/ocaml/ocaml-ci-scripts/blob/master/.travis-docker.sh). It creates a \"docker in docker\" server instance and a docker client that clients to it and acts as the travis runner, creating the container in which the build is executed.\n\nAs a first step you need to create a file with all the required environment variables:\n\n```\n$ cat \u003c\u003cEOF \u003e\u003e env.sh\nexport DISTRO=ubuntu-16.04\nexport OCAML_VERSION=4.02.3\nexport PACKAGE=ocaml-uri\n\nexport POST_INSTALL_HOOK=\"OPAMYES=true opam depext -i react ssl lwt\"\nexport REVDEPS=\"cohttp git github irmin sociaml-facebook-api sociaml-oauth-client sociaml-tumblr-api spotify-web-api syndic\"\n...\n```\nAt least `DISTRO`, `OCAML_VERSION` and `PACKAGE` are required. Then, from the target project root you can execute the `run.sh` script in this repo passing the previously created `env.sh` file path as parameter:\n\n```\n/path/to/ocaml-travis-runner/run.sh /path/to/env.sh\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgimenez%2Focaml-travis-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgimenez%2Focaml-travis-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgimenez%2Focaml-travis-runner/lists"}