Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with appveyor #129

Closed
lathonez opened this issue Aug 9, 2016 · 5 comments
Closed

Integrate with appveyor #129

lathonez opened this issue Aug 9, 2016 · 5 comments

Comments

@lathonez
Copy link
Owner

lathonez commented Aug 9, 2016

So we have something to hit the Windows guys with when they have random issues.

I think angular2 seed are integrated so should be easy enough.

@lathonez
Copy link
Owner Author

started this finally for #194 npm test is running

@lathonez
Copy link
Owner Author

basically working, need e2e

@lathonez
Copy link
Owner Author

Had a quick go at e2e, initial blocker is that ionic:build fails on jasmine types missing.

here is the yml:

# Test against this version of Node.js
environment:
  nodejs_version: "6.5"

# Install scripts. (runs after repo cloning)
install:
  # Get the latest stable version of Node.js or io.js
  - ps: Install-Product node $env:nodejs_version
  # install modules
  - npm install -g cordova ionic angular-cli
  - ionic state clear
  - npm install

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  # run tests
  - ng test --watch=false

build: off

deploy:
- provider: Local
  AppVeyor-Protractor-test-app.deploy_website: true
  AppVeyor-Protractor-test-app.site_name: Test
  AppVeyor-Protractor-test-app.hostname: localhost
  AppVeyor-Protractor-test-app.port: 47602
  AppVeyor-Protractor-test-app.protocol: http
  AppVeyor-Protractor-test-app.remove_files: true

before_deploy:
  - npm run ionic:build

after_deploy:
  - npm run e2e

based on this: https://github.com/FeodorFitsner/AppVeyor-Protractor-test-app/blob/master/appveyor.yml

@lathonez
Copy link
Owner Author

I can't see how this is worth the effort at the moment.

@lathonez
Copy link
Owner Author

e2e is sorted since we're now serving statically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant