https://github.com/evhub/travis-dotfile-generator
Generate .travis.yml files from Python/Coconut scripts.
https://github.com/evhub/travis-dotfile-generator
Last synced: 6 days ago
JSON representation
Generate .travis.yml files from Python/Coconut scripts.
- Host: GitHub
- URL: https://github.com/evhub/travis-dotfile-generator
- Owner: evhub
- License: other
- Created: 2016-01-10T05:22:58.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-04T21:15:25.000Z (almost 10 years ago)
- Last Synced: 2025-01-30T01:44:56.124Z (12 months ago)
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# [Travis CI](https://travis-ci.org/) Dotfile Generator
Generates `.travis.yml` files from Python/Coconut scripts. Travis Dotfile Generator is written in [Coconut](https://github.com/evhub/coconut).
## Installation
```
pip install coconut
git clone https://github.com/evhub/travis-dotfile-generator.git
coconut travis-dotfile-generator
pip install travis-dotfile-generator
```
## Usage
```python
import travisgen
@functools.partial(travisgen.builder, ".", "python", ["2.7", "3.4"])
# or in Coconut, @travisgen.builder$(".", "python", ["2.7", "3.4"])
def travismaker(version):
...
return install_cmds, script_cmds
if __name__ == "__main__":
travismaker()
```