This article is about Codeship Basic.

Ionic

You will need about one minute to read this article.

Setup

If your app is built on the Ionic framework you can easily install the Ionic CLI in your build.

First, if your project is not already setting a current Node version you will need to install at least Node 6:

nvm install 6

Next you can install Ionic with NPM:

npm install -g ionic@latest

You should now be able to use any ionic commands you need.

Dependencies

Any other dependencies for your project can be installed with NPM or Yarn.

Testing

There are a variety of different tools you might use to test your Ionic app. Ionic provides a detailed example that describes doing unit testing and end-to-end (e2e) testing with Karma and Jasmine.

Need more help?

You can post on Stack Overflow using the tag #codeship or contact our Helpdesk.
We also have a couple of code examples and sample projects available for you to get started with.

Was This Article Helpful?

Do you think we need to improve this article? If so, please submit our feedback form to help us improve this article!