0

How can you run calabash-ios tests within CircleCI?

This is what I have tried:

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

And after installing calabash, CircleCI does not end up running the commands written in my .feature file. Any ideas?

alannichols
  • 1,496
  • 1
  • 10
  • 20
haitham
  • 3,398
  • 6
  • 21
  • 35

1 Answers1

0

I fixed it by changing to this:

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
haitham
  • 3,398
  • 6
  • 21
  • 35