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

Add Ubuntu Touch/QML Language Option #2058

Closed
Joshua-Anderson opened this issue Mar 13, 2014 · 3 comments
Closed

Add Ubuntu Touch/QML Language Option #2058

Joshua-Anderson opened this issue Mar 13, 2014 · 3 comments

Comments

@Joshua-Anderson
Copy link

Since travis-ci will probably update to Ubuntu 14.04 LTS at some point, I think it would be awesome to support Ubuntu Touch/Qml.

It would require fairly little work on the end of Travis CI. Here is a idea of the sort of setup that is required to add ubuntu-touch to Travis CI.

Set up environment (Install Ubuntu SDK and Autopilot):

echo 'yes' | sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update -qq && sudo apt-get install ubuntu-sdk -qq

Run QML Unit Tests:
Run qmltestrunner in unit test directory.

It would also be great if at some point we could run autopilot functionality tests, but as of right now this requires a physical device, though we probably will be able to run it on a emulator in a travis worker at some point.

An example .travis.yml would look like:

language: ubuntu-touch
test_path: tests/unit

I'd be happy to help add this in but would like to see what people think of this first.

@sarahhodne
Copy link
Contributor

It sounds like all of this should be possible to do without any updates on our end as well (except the update to Ubuntu 14.04, maybe):

before_install:
  - echo 'yes' | sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
  - sudo apt-get update
  - sudo apt-get install ubuntu-sdk
script:
  - cd tests/unit && qmltestrunner

@Joshua-Anderson
Copy link
Author

@henrikhodne You certainly can. I hope this can become a official language at some point, but until then that is a great alternative.

@roidrage
Copy link
Contributor

roidrage commented May 2, 2014

Given that it's quite easy to install and there's nothing official yet on 14.04 support, I'm closing this for the time being.

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

3 participants