Skip to content

Instantly share code, notes, and snippets.

@aaronromeo
Last active March 29, 2017 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aaronromeo/d4c229b905614eced706 to your computer and use it in GitHub Desktop.
Save aaronromeo/d4c229b905614eced706 to your computer and use it in GitHub Desktop.
Setting up Protractor tests for Ionic on CodeShip

Under Test Settings

'Select your technology to prepopulate basic commands' as Node.js

Setup Commands

# By default we use the Node.js version set in your package.json or the latest
# version from the 0.10 release
#
# You can use nvm to install any Node.js (or io.js) version you require.
# nvm install 4.0
nvm install 0.10
npm install
# Install grunt-cli for running your tests or other tasks
# npm install -g grunt-cli
npm install -g ionic
npm install -g protractor
npm install -g cordova
npm install bower
bower install
webdriver-manager update
# Allow the ionic server to spin up
nohup `ionic serve --address localhost -b 2>&1` &

Configure Test Pipelines (1 / 1used)

protractor test/protractor.config.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment