2

Codeship doesn't support YAML confguration file, does it? I can't find any document about it on their Docs page.

I try to put some file like codeship.yml or your_config.yml in my repo but it doesn't work.

P/S: I know that CircleCI, TravisCI and others support YAML file, i.e circle.yml and .travis.yml.

Tuan
  • 2,303
  • 2
  • 25
  • 37

2 Answers2

5

You can now add YAML configuration file support to your Codeship projects yourself: The Codeship-YAML package allows you to specify shell commands in a codeship.yml file in your project. Just like what you are used to with Travis CI, Shippable and (similar to) CircleCI.

You need to add YAML file support to each Codeship project separately, but the setup is simple (just copy+paste 2 lines of code to the Setup Commands box on Codeship).

Please see the codeship-yaml README for detailed setup instructions.

Peterino
  • 15,097
  • 3
  • 28
  • 29
2

Codeship doesn't (yet) support configuration via a YAML file. The next iteration of our platform will have this feature, in the meantime you'd need to extract your commands in shell script and call that script via the UI.

mlocher
  • 766
  • 5
  • 11
  • Support for yml project>app>test settings should be a high priority IMO. – David J Eddy Oct 07 '15 at 16:57
  • Another thumbs up for YAML configuration! – Lars Brinkhoff Dec 04 '15 at 06:55
  • 2
    Configuration based on YML files is now available for our Docker based infrastructure (which is currently invite only). See http://pages.codeship.com/docker/ for more information. – mlocher Feb 01 '16 at 10:51
  • @mlocher so when can we expect to see YML config file support for the regular infrastructure? – Korijn Feb 03 '16 at 12:21
  • No, this won't come to the regular infrastructure, but we're going to make it easier to use the Docker based platform, even if you're not using Docker otherwise. – mlocher Feb 03 '16 at 12:31