如何在CircleCI中运行calabash-ios测试?

时间:2015-05-26 17:46:09

标签: ruby cucumber calabash calabash-ios circleci

如何在CircleCI中运行calabash-ios测试?

这就是我的尝试:

machine:
  xcode:
    version: "6.3.1"

dependencies:
    override:
        - sudo gem install calabash-cucumber
        - sudo gem install cocoapods


test:
    overrride:
        - pod setup
        - pod install
        - calabash-ios gen
        - cucumber

安装calabash后,CircleCI最终不会运行我的.feature文件中写的命令。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

我修改了它:

machine:
  xcode:
    version: "6.3.1"

dependencies:
    override:
        - sudo gem install calabash-cucumber
        - sudo gem install cocoapods


test:
    pre:
        - pod setup
        - pod install
    post:
        - cucumber