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?

Contact our support team or post on Stack Overflow using the tag #codeship. Did you check the status page and changelog?

There are also several code examples and sample projects available for you to get started with.

Article not helpful?

Does this article need improvement? If so, please send feedback or submit a pull request!